Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.748/1.748, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 67.89 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1509, allocations: 53.31 MB / 427.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004187/0.1551, allocations: 1.875 MB / 429 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1569, allocations: 0.7672 MB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.1571, allocations: 0 / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1573, allocations: 23.73 kB / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1575, allocations: 31.78 kB / 429.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.1583, allocations: 155.6 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1586, allocations: 147.6 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1588, allocations: 41.53 kB / 430.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.159, allocations: 71.7 kB / 430.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1592, allocations: 59.64 kB / 430.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1592, allocations: 12 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1593, allocations: 55.97 kB / 430.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1595, allocations: 43.83 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.1595, allocations: 71.53 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.16, allocations: 203.1 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.16, allocations: 3.984 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.16, allocations: 0 / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.16, allocations: 0 / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001009/0.161, allocations: 482.7 kB / 431.2 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.161, allocations: 12.03 kB / 431.2 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.1612, allocations: 28.78 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.1617, allocations: 248.1 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1617, allocations: 12.56 kB / 431.5 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.1617, allocations: 20.06 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008332/0.1626, allocations: 339.4 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1626, allocations: 0 / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1626, allocations: 0 / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1626, allocations: 4 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1629, allocations: 83.94 kB / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.1635, allocations: 353.5 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.164, allocations: 254.4 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1643, allocations: 105.6 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/0.1651, allocations: 0.5817 MB / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.1651, allocations: 42.56 kB / 433.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.1651, allocations: 0 / 433.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006724/0.1658, allocations: 233.3 kB / 433.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1659, allocations: 121.4 kB / 433.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1662, allocations: 195.2 kB / 433.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1662, allocations: 25.7 kB / 433.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.1663, allocations: 108.7 kB / 433.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.1663, allocations: 27.77 kB / 433.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.1665, allocations: 41.7 kB / 434 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1667, allocations: 326.8 kB / 434.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1668, allocations: 35.97 kB / 434.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.167, allocations: 169.1 kB / 434.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.1674, allocations: 208.1 kB / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1674, allocations: 0 / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004344/0.1678, allocations: 217.4 kB / 434.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1678, allocations: 4 kB / 434.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1678, allocations: 8 kB / 434.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1678, allocations: 4 kB / 434.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.168, allocations: 43.91 kB / 435 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.168, allocations: 11.94 kB / 435 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1682, allocations: 15.95 kB / 435 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1682, allocations: 8.312 kB / 435 MB, free: 12.08 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0002032/0.1684, allocations: 149.7 kB / 435.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.1688, allocations: 165.4 kB / 435.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.1692, allocations: 183.3 kB / 435.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1692, allocations: 0 / 435.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.1692, allocations: 0 / 435.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1692, allocations: 8 kB / 435.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1696, allocations: 237.4 kB / 435.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.1696, allocations: 3.938 kB / 435.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1697, allocations: 27.98 kB / 435.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1697, allocations: 0 / 435.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1697, allocations: 7.984 kB / 435.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1697, allocations: 0 / 435.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.1698, allocations: 3.938 kB / 435.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.1703, allocations: 285.9 kB / 436 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.1705, allocations: 124.8 kB / 436.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.1705, allocations: 4 kB / 436.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1706, allocations: 19.98 kB / 436.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1707, allocations: 0 / 436.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.1707, allocations: 7.938 kB / 436.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1709, allocations: 155 kB / 436.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1709, allocations: 0 / 436.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.1713, allocations: 32 kB / 436.4 MB, free: 10.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.00028/0.1716, allocations: 111.2 kB / 436.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.172, allocations: 144.7 kB / 436.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.172, allocations: 0 / 436.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.1721, allocations: 8 kB / 436.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.1729, allocations: 150.7 kB / 436.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.1738, allocations: 325 kB / 437.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.1743, allocations: 0.7438 MB / 437.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1744, allocations: 17.55 kB / 437.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.1744, allocations: 15.44 kB / 437.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1744, allocations: 4 kB / 437.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Templates: time 0.008001/0.1825, allocations: 2.388 MB / 440.3 MB, free: 6.633 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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: 5.380206172354519]