Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001597/0.001597, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001404/0.001404, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.514/1.514, allocations: 230.4 MB / 255.4 MB, free: 15.04 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.83 kB / 374.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 53.3 MB / 428.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003431/0.1158, allocations: 1.886 MB / 429.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1173, allocations: 0.7594 MB / 430.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1174, allocations: 11.94 kB / 430.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1176, allocations: 19.8 kB / 430.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1177, allocations: 27.73 kB / 430.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.1183, allocations: 167.2 kB / 430.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1186, allocations: 151.6 kB / 431.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1187, allocations: 37.55 kB / 431.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1189, allocations: 67.7 kB / 431.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.119, allocations: 63.62 kB / 431.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.119, allocations: 12 kB / 431.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1192, allocations: 55.97 kB / 431.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.1193, allocations: 43.89 kB / 431.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.1194, allocations: 75.47 kB / 431.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.1197, allocations: 203.1 kB / 431.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1197, allocations: 0 / 431.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1197, allocations: 0 / 431.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1197, allocations: 0 / 431.6 MB, free: 0.7969 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.0008186/0.1205, allocations: 490.7 kB / 432.1 MB, free: 276 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1206, allocations: 8.031 kB / 432.1 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1207, allocations: 28.8 kB / 432.1 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2608/0.3815, allocations: 243.5 kB / 432.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.3815, allocations: 8.406 kB / 432.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3816, allocations: 14.94 kB / 432.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.3824, allocations: 333.9 kB / 432.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3824, allocations: 0 / 432.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3824, allocations: 3.969 kB / 432.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3824, allocations: 2.406 kB / 432.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.3827, allocations: 84.33 kB / 432.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.3831, allocations: 348 kB / 433.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.3836, allocations: 254.7 kB / 433.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.3838, allocations: 91.2 kB / 433.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005259/0.3843, allocations: 0.588 MB / 434.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3844, allocations: 35.75 kB / 434.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.3844, allocations: 0 / 434.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006239/0.385, allocations: 239 kB / 434.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.385, allocations: 117.4 kB / 434.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3852, allocations: 192.1 kB / 434.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3853, allocations: 30.2 kB / 434.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.3853, allocations: 103.9 kB / 434.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3853, allocations: 23.47 kB / 434.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.3854, allocations: 42.38 kB / 434.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.3854, allocations: 327.5 kB / 435.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.3855, allocations: 37.33 kB / 435.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3856, allocations: 170.2 kB / 435.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3858, allocations: 202.4 kB / 435.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3858, allocations: 2.25 kB / 435.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003117/0.3861, allocations: 218.5 kB / 435.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3862, allocations: 6.438 kB / 435.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3862, allocations: 4.125 kB / 435.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.3862, allocations: 9.656 kB / 435.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3863, allocations: 44.89 kB / 435.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3864, allocations: 6.812 kB / 435.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3865, allocations: 17.64 kB / 435.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3865, allocations: 16.59 kB / 435.9 MB, free: 9.043 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.0001152/0.3866, allocations: 154.8 kB / 436 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.3869, allocations: 163.9 kB / 436.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.3872, allocations: 174.7 kB / 436.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3872, allocations: 6.125 kB / 436.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3872, allocations: 1.812 kB / 436.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3872, allocations: 8.844 kB / 436.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3874, allocations: 231.5 kB / 436.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3874, allocations: 1.344 kB / 436.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3876, allocations: 32.97 kB / 436.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3876, allocations: 1.562 kB / 436.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3876, allocations: 7.5 kB / 436.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3876, allocations: 5.438 kB / 436.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3876, allocations: 0 / 436.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.388, allocations: 285.6 kB / 436.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.388, allocations: 113.4 kB / 437 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3881, allocations: 9.625 kB / 437.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3882, allocations: 13.92 kB / 437.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3882, allocations: 6.219 kB / 437.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3883, allocations: 4.375 kB / 437.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3884, allocations: 159.5 kB / 437.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3884, allocations: 1.094 kB / 437.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.3887, allocations: 32.41 kB / 437.3 MB, free: 8.27 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.0001782/0.3889, allocations: 113 kB / 437.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.3892, allocations: 150.5 kB / 437.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3892, allocations: 0.8438 kB / 437.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.3893, allocations: 9.344 kB / 437.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.3899, allocations: 140.2 kB / 437.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.3905, allocations: 367.3 kB / 438 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.3907, allocations: 0.7379 MB / 438.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.3907, allocations: 18.23 kB / 438.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3907, allocations: 0 / 438.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of Templates: time 0.005327/0.3961, allocations: 2.279 MB / 441.1 MB, free: 7.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.295786697184667]