Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 186.2 kB / 16.96 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06228/0.06228, allocations: 12.61 MB / 284 MB, free: 8.586 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 20 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08552, allocations: 50.38 MB / 395.6 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.001885/0.08744, allocations: 1.551 MB / 397.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.08848, allocations: 0.6982 MB / 397.8 MB, free: 156 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.919e-05/0.08858, allocations: 7.938 kB / 397.8 MB, free: 148 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.08869, allocations: 11.86 kB / 397.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.08882, allocations: 23.84 kB / 397.8 MB, free: 112 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.08927, allocations: 135.8 kB / 398 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.08945, allocations: 131.6 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.08958, allocations: 65.52 kB / 398.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.08969, allocations: 39.73 kB / 398.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.08982, allocations: 55.62 kB / 398.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.08985, allocations: 4 kB / 398.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.08994, allocations: 39.97 kB / 398.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.09002, allocations: 31.91 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.09009, allocations: 89.17 kB / 398.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.0903, allocations: 167.6 kB / 398.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.09031, allocations: 0 / 398.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09032, allocations: 0 / 398.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.09033, allocations: 0 / 398.6 MB, free: 15.36 MB / 302.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.0006033/0.09094, allocations: 462.9 kB / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.09097, allocations: 8.031 kB / 399 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.09103, allocations: 20.75 kB / 399.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.09128, allocations: 240 kB / 399.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.09131, allocations: 8.562 kB / 399.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.09135, allocations: 16.12 kB / 399.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.09199, allocations: 354.5 kB / 399.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.092, allocations: 0 / 399.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.09203, allocations: 4 kB / 399.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.09204, allocations: 4 kB / 399.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.09229, allocations: 95.94 kB / 399.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.09264, allocations: 337.5 kB / 400.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.09311, allocations: 286.4 kB / 400.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.09331, allocations: 109.7 kB / 400.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/0.0939, allocations: 0.5817 MB / 401.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.09393, allocations: 38.55 kB / 401.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.09394, allocations: 0 / 401.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005624/0.09451, allocations: 256.4 kB / 401.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.0946, allocations: 122.9 kB / 401.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.09477, allocations: 194.2 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.0948, allocations: 29.7 kB / 401.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.09485, allocations: 100.6 kB / 401.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.09489, allocations: 23.83 kB / 401.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.09492, allocations: 21.72 kB / 401.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.09503, allocations: 330.8 kB / 402.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.09511, allocations: 35.98 kB / 402.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.09527, allocations: 177 kB / 402.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.0955, allocations: 200.1 kB / 402.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.09552, allocations: 4 kB / 402.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003195/0.09584, allocations: 225.5 kB / 402.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.09587, allocations: 12 kB / 402.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.09588, allocations: 4 kB / 402.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.0959, allocations: 8 kB / 402.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.09603, allocations: 43.86 kB / 402.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.09605, allocations: 4 kB / 402.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.09617, allocations: 27.83 kB / 402.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.09619, allocations: 8 kB / 402.9 MB, free: 10.51 MB / 302.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.sample.noise.seedState[3],sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[1],sample.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[3],sample.noise.seedState[2],sample.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.0001164/0.09631, allocations: 157.6 kB / 403 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.09661, allocations: 169.2 kB / 403.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.09696, allocations: 195.6 kB / 403.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.09697, allocations: 0 / 403.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.09698, allocations: 0 / 403.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.09699, allocations: 4 kB / 403.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.09719, allocations: 233.4 kB / 403.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.0972, allocations: 0 / 403.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.09734, allocations: 39.91 kB / 403.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.09736, allocations: 7.922 kB / 403.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.09737, allocations: 8 kB / 403.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.09738, allocations: 4 kB / 403.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.09739, allocations: 0 / 403.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.09778, allocations: 292.1 kB / 404 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.09787, allocations: 116.8 kB / 404.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.09791, allocations: 8 kB / 404.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.09804, allocations: 15.98 kB / 404.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.09807, allocations: 0 / 404.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.09809, allocations: 7.984 kB / 404.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.09821, allocations: 148.4 kB / 404.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09822, allocations: 0 / 404.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.09852, allocations: 32 kB / 404.3 MB, free: 8.996 MB / 302.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 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.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.0001453/0.09867, allocations: 119.1 kB / 404.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.09898, allocations: 148.5 kB / 404.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09899, allocations: 0 / 404.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.09903, allocations: 11.98 kB / 404.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.09959, allocations: 166.2 kB / 404.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.1001, allocations: 386.9 kB / 405.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1004, allocations: 0.7324 MB / 405.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.1005, allocations: 21.55 kB / 405.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.1005, allocations: 15.44 kB / 405.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1005, allocations: 0 / 405.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of Templates: time 0.004447/0.105, allocations: 2.174 MB / 408.1 MB, free: 5.176 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches