Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003439/0.003439, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8185/0.8185, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.716e-05, allocations: 5.656 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001657/0.001674, allocations: 1.481 MB / 321.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003006/0.001974, allocations: 143.5 kB / 321.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.002043, allocations: 3.938 kB / 321.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.002081, allocations: 7.875 kB / 321.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.002202, allocations: 7.938 kB / 321.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.002394, allocations: 43.83 kB / 321.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.002477, allocations: 27.92 kB / 321.4 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.002557, allocations: 4 kB / 321.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.002595, allocations: 15.92 kB / 321.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.62e-05/0.002621, allocations: 15.97 kB / 321.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.002644, allocations: 4 kB / 321.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.002651, allocations: 0 / 321.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.002694, allocations: 11.94 kB / 321.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.002711, allocations: 11.88 kB / 321.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.903e-05/0.0028, allocations: 39.88 kB / 321.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002802, allocations: 0 / 321.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002803, allocations: 7.938 kB / 321.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.676e-06/0.002807, allocations: 0 / 321.5 MB, free: 4.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003148/0.003121, allocations: 282.1 kB / 321.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.003155, allocations: 8.922 kB / 321.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.003183, allocations: 8.891 kB / 321.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.003334, allocations: 133.6 kB / 321.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.003352, allocations: 384 / 321.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.003359, allocations: 384 / 321.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.003527, allocations: 97.59 kB / 322 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.003535, allocations: 192 / 322 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.003543, allocations: 4.375 kB / 322 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003548, allocations: 384 / 322 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.142e-05/0.003579, allocations: 19.86 kB / 322 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.0038, allocations: 197.5 kB / 322.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/0.003848, allocations: 45.14 kB / 322.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.003868, allocations: 13.78 kB / 322.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.003883, allocations: 4 kB / 322.3 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.003901, allocations: 34.56 kB / 322.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.003902, allocations: 0 / 322.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.004063, allocations: 65.52 kB / 322.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.004103, allocations: 77.11 kB / 322.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.707e-05/0.004181, allocations: 137 kB / 322.6 MB, free: 2.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.004189, allocations: 25.7 kB / 322.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.004223, allocations: 84.14 kB / 322.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.004229, allocations: 0 / 322.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.004254, allocations: 21.92 kB / 322.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.004323, allocations: 322.8 kB / 323 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.004337, allocations: 3.984 kB / 323.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.004347, allocations: 11.88 kB / 323.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.004371, allocations: 12.86 kB / 323.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004372, allocations: 0 / 323.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.194e-05/0.004414, allocations: 41.69 kB / 323.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.004424, allocations: 4 kB / 323.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004429, allocations: 4.031 kB / 323.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.004439, allocations: 4 kB / 323.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.169e-05/0.004451, allocations: 0 / 323.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.004455, allocations: 0 / 323.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.004465, allocations: 4 kB / 323.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.004469, allocations: 0 / 323.1 MB, free: 2.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.004522, allocations: 117.8 kB / 323.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.004551, allocations: 41.59 kB / 323.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.004573, allocations: 15.39 kB / 323.3 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.004576, allocations: 4 kB / 323.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.00458, allocations: 4.031 kB / 323.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.004582, allocations: 0 / 323.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.065e-05/0.004663, allocations: 109.3 kB / 323.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004663, allocations: 0 / 323.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.004666, allocations: 4 kB / 323.4 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.004668, allocations: 4 kB / 323.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.004673, allocations: 0 / 323.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.004675, allocations: 3.938 kB / 323.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004676, allocations: 0 / 323.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.233e-05/0.004758, allocations: 156.3 kB / 323.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.00478, allocations: 16 kB / 323.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.004789, allocations: 4 kB / 323.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.00482, allocations: 3.938 kB / 323.6 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.004843, allocations: 0 / 323.6 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.004846, allocations: 4 kB / 323.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.004885, allocations: 107.2 kB / 323.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004885, allocations: 0 / 323.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.00502, allocations: 4 kB / 323.7 MB, free: 1.523 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.215e-05/0.005082, allocations: 95.25 kB / 323.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.00515, allocations: 27.86 kB / 323.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.005151, allocations: 0 / 323.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.005163, allocations: 4 kB / 323.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.005368, allocations: 18.89 kB / 323.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.005581, allocations: 167.3 kB / 324 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.857e-05/0.00563, allocations: 71.33 kB / 324.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.005655, allocations: 12.5 kB / 324.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.005656, allocations: 224 / 324.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of Templates: time 0.001344/0.006999, allocations: 0.6257 MB / 324.7 MB, free: 464 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8813921697437763]