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.0009905/0.0009905, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001026/0.001026, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9306/0.9306, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.052e-06/1.052e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.307e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002322/0.002335, allocations: 1.979 MB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003751, allocations: 1.215 MB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.003837, allocations: 7.938 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.004238, allocations: 155.4 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.004469, allocations: 155.3 kB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.004769, allocations: 175.3 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.004945, allocations: 195.4 kB / 277.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.005013, allocations: 26.44 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.005119, allocations: 95.73 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.005196, allocations: 59.86 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.005213, allocations: 15.94 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.005315, allocations: 71.81 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.005355, allocations: 35.86 kB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.005392, allocations: 39.84 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.005565, allocations: 167.4 kB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005567, allocations: 3.938 kB / 277.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005567, allocations: 0 / 277.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.00557, allocations: 0 / 277.9 MB, free: 12.87 MB / 266.7 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.0003563/0.005926, allocations: 409.4 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.508e-05/0.005951, allocations: 12.03 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.005984, allocations: 16.92 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.006173, allocations: 217.5 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.006185, allocations: 8.375 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.006194, allocations: 4.375 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.006341, allocations: 125.2 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.006348, allocations: 3.938 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.006355, allocations: 7.984 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.006361, allocations: 4 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.006391, allocations: 18.75 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.006602, allocations: 203.5 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.006715, allocations: 134.6 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.006746, allocations: 30.56 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.006759, allocations: 7.938 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/0.006833, allocations: 70.14 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.006834, allocations: 0 / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001127/0.006946, allocations: 77.78 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.006993, allocations: 118.8 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.007124, allocations: 226.7 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007138, allocations: 29.7 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.007175, allocations: 104.5 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.007191, allocations: 11.91 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.007221, allocations: 29.69 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.007292, allocations: 326.8 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.007306, allocations: 10.81 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.007341, allocations: 56.27 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.007377, allocations: 39.64 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.007378, allocations: 0 / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.332e-05/0.007441, allocations: 72.38 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.007449, allocations: 4 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.007452, allocations: 0 / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.00746, allocations: 0 / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.007505, allocations: 19.98 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007508, allocations: 7.875 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.007536, allocations: 11.89 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.00754, allocations: 0 / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.964e-05/0.0076, allocations: 121.5 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.007637, allocations: 57.55 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.007718, allocations: 75.44 kB / 280.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007719, allocations: 0 / 280.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.007721, allocations: 0 / 280.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.007726, allocations: 7.984 kB / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.673e-05/0.007803, allocations: 97.84 kB / 280.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007804, allocations: 0 / 280.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.007819, allocations: 8 kB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00782, allocations: 4.062 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007827, allocations: 7.938 kB / 280.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.007829, allocations: 7.922 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00783, allocations: 0 / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.525e-05/0.007905, allocations: 104.5 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.00794, allocations: 31.78 kB / 280.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.007958, allocations: 7.938 kB / 280.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.765e-05/0.007985, allocations: 4 kB / 280.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.008008, allocations: 7.984 kB / 280.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.008015, allocations: 64 / 280.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.008076, allocations: 89.61 kB / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008076, allocations: 0 / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000126/0.008202, allocations: 31.98 kB / 280.9 MB, free: 9.523 MB / 266.7 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.0009998/0.009202, allocations: 0.5105 MB / 281.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.009284, allocations: 40.78 kB / 281.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.009288, allocations: 4 kB / 281.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.009317, allocations: 28.81 kB / 281.5 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.009485, allocations: 66.97 kB / 281.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.009791, allocations: 303.6 kB / 281.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.009831, allocations: 75.83 kB / 281.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.009874, allocations: 13.48 kB / 281.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.00995, allocations: 83.34 kB / 282 MB, free: 8.586 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009951, allocations: 0 / 282 MB, free: 8.586 MB / 266.7 MB Notification: Performance of Templates: time 0.004042/0.01399, allocations: 2.789 MB / 284.8 MB, free: 5.84 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.655846190173179]