Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.679/1.679, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 51.92 kB / 373.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1547, allocations: 53.32 MB / 426.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.005907/0.1606, allocations: 1.878 MB / 428.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1629, allocations: 0.7556 MB / 429.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.1631, allocations: 11.94 kB / 429.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1634, allocations: 19.78 kB / 429.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1637, allocations: 27.8 kB / 429.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1647, allocations: 171.5 kB / 429.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.1651, allocations: 143.6 kB / 429.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1653, allocations: 41.53 kB / 429.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1656, allocations: 67.77 kB / 429.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.1658, allocations: 67.52 kB / 430 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.1659, allocations: 12 kB / 430 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.166, allocations: 63.94 kB / 430.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1662, allocations: 35.91 kB / 430.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1663, allocations: 67.55 kB / 430.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.1668, allocations: 215 kB / 430.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1668, allocations: 0 / 430.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1668, allocations: 0 / 430.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1668, allocations: 0 / 430.4 MB, free: 0.8125 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.001192/0.168, allocations: 478.7 kB / 430.8 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.1681, allocations: 12.03 kB / 430.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.1683, allocations: 28.78 kB / 430.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3632/0.5315, allocations: 248 kB / 431.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.5316, allocations: 8.297 kB / 431.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.5316, allocations: 10.91 kB / 431.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5327, allocations: 335.4 kB / 431.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5327, allocations: 0.5 kB / 431.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.5328, allocations: 4.344 kB / 431.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5328, allocations: 3.156 kB / 431.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.5331, allocations: 88.17 kB / 431.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.5337, allocations: 343.9 kB / 431.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.5344, allocations: 259.4 kB / 432.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.5346, allocations: 95.27 kB / 432.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.5353, allocations: 0.583 MB / 432.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5354, allocations: 35.62 kB / 432.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.945e-06/0.5354, allocations: 0 / 432.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007706/0.5361, allocations: 233.1 kB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.5362, allocations: 121.7 kB / 433.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.5365, allocations: 192.8 kB / 433.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.5365, allocations: 29.39 kB / 433.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.5366, allocations: 108.8 kB / 433.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.5367, allocations: 18.38 kB / 433.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.5367, allocations: 49.88 kB / 433.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.5368, allocations: 331.7 kB / 433.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.5369, allocations: 35.23 kB / 434 MB, free: 9.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.537, allocations: 165 kB / 434.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.5373, allocations: 206.1 kB / 434.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5373, allocations: 4.828 kB / 434.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003762/0.5377, allocations: 212.1 kB / 434.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.5377, allocations: 6.812 kB / 434.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.5377, allocations: 5.312 kB / 434.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.393e-05/0.5377, allocations: 13.09 kB / 434.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.5379, allocations: 41.56 kB / 434.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.5379, allocations: 8.109 kB / 434.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.5381, allocations: 22.83 kB / 434.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.5381, allocations: 10.28 kB / 434.6 MB, free: 8.969 MB / 350.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.0001657/0.5383, allocations: 147.5 kB / 434.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.5386, allocations: 168.9 kB / 434.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.5391, allocations: 177.2 kB / 435.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5391, allocations: 11.25 kB / 435.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5391, allocations: 0 / 435.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5391, allocations: 1.188 kB / 435.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.5394, allocations: 233.3 kB / 435.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5394, allocations: 4.078 kB / 435.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.5395, allocations: 32.42 kB / 435.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5395, allocations: 1.031 kB / 435.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.5396, allocations: 7.281 kB / 435.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.5396, allocations: 8.344 kB / 435.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5396, allocations: 0 / 435.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.54, allocations: 284.7 kB / 435.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5401, allocations: 114.1 kB / 435.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.5402, allocations: 10.66 kB / 435.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5403, allocations: 13.72 kB / 435.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.5404, allocations: 5.844 kB / 435.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.5404, allocations: 7.375 kB / 435.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.5405, allocations: 151.5 kB / 436 MB, free: 8.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5405, allocations: 0 / 436 MB, free: 8.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000414/0.541, allocations: 37.44 kB / 436 MB, free: 8.195 MB / 350.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.0002476/0.5412, allocations: 112.6 kB / 436.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.5416, allocations: 144.9 kB / 436.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5416, allocations: 0 / 436.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.5417, allocations: 9.844 kB / 436.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.5424, allocations: 149.5 kB / 436.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.5432, allocations: 331.1 kB / 436.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.5435, allocations: 0.7405 MB / 437.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.5435, allocations: 22.62 kB / 437.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.5436, allocations: 16.69 kB / 437.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5436, allocations: 0 / 437.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of Templates: time 0.008873/0.5525, allocations: 2.379 MB / 439.9 MB, free: 7 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.4281733222305775]