Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001582/0.001582, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002206/0.002206, allocations: 216.4 kB / 24.48 MB, free: 3.941 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 2.086/2.086, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 43.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3902, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.006272/0.3965, allocations: 1.876 MB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.3996, allocations: 1.165 MB / 435.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.3999, allocations: 7.938 kB / 435.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.4008, allocations: 159.5 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.4015, allocations: 171.3 kB / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.4022, allocations: 166.5 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.4026, allocations: 195.4 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4028, allocations: 21.55 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.403, allocations: 83.62 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.4031, allocations: 79.67 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.4032, allocations: 8 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.4034, allocations: 67.89 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4035, allocations: 43.84 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.4036, allocations: 51.61 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.4042, allocations: 213.9 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4042, allocations: 0 / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4042, allocations: 0 / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.016e-06/0.4042, allocations: 0 / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001107/0.4053, allocations: 450.7 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4053, allocations: 12.03 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.4054, allocations: 24.8 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.4059, allocations: 213.1 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4059, allocations: 8.375 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.406, allocations: 8.125 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.4064, allocations: 141.9 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4064, allocations: 4 kB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4064, allocations: 3.984 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4064, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4066, allocations: 39.92 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.4072, allocations: 294.1 kB / 437.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.4075, allocations: 107.9 kB / 437.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.4076, allocations: 42.5 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.4076, allocations: 8 kB / 437.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.4078, allocations: 75.33 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.4078, allocations: 0 / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004925/0.4083, allocations: 149.4 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4084, allocations: 110.8 kB / 438.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.4089, allocations: 277 kB / 438.5 MB, free: 340 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4089, allocations: 25.7 kB / 438.6 MB, free: 308 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.409, allocations: 116.1 kB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.4091, allocations: 20.14 kB / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.4091, allocations: 41.66 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.4094, allocations: 330.8 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.4094, allocations: 23.98 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.4096, allocations: 82.84 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.4098, allocations: 80.22 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4098, allocations: 4.188 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000296/0.4101, allocations: 125.5 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4101, allocations: 4 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4101, allocations: 4 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4102, allocations: 0 / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.4103, allocations: 15.98 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4103, allocations: 3.938 kB / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/0.4104, allocations: 11.95 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.4104, allocations: 4 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001683/0.4105, allocations: 154.6 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4107, allocations: 65.53 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.411, allocations: 115.4 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.411, allocations: 0 / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.411, allocations: 0 / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.411, allocations: 7.938 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4112, allocations: 165.2 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.4112, allocations: 0 / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.4113, allocations: 11.94 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.4113, allocations: 8.047 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4113, allocations: 4 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4113, allocations: 4 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4113, allocations: 0 / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.4116, allocations: 158.6 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.4117, allocations: 39.81 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.4117, allocations: 4 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.4118, allocations: 4 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.4119, allocations: 7.984 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4119, allocations: 8 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.4122, allocations: 200.5 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4122, allocations: 0 / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.4125, allocations: 31.94 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001866/0.4144, allocations: 453.7 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4147, allocations: 75.78 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4147, allocations: 0 / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.4147, allocations: 28.23 kB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.4153, allocations: 70.62 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007119/0.416, allocations: 321.8 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.4161, allocations: 115.3 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.689e-05/0.4162, allocations: 33.81 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4163, allocations: 23.42 kB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4163, allocations: 0 / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of Templates: time 0.008444/0.4247, allocations: 2.685 MB / 444.2 MB, free: 10.73 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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: 6.735817659995519]