Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003476/0.003476, allocations: 145.1 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8359/0.8359, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 319.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.744e-05, allocations: 2.281 kB / 319.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00202/0.002038, allocations: 1.847 MB / 321.5 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003096, allocations: 1.021 MB / 322.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.003189, allocations: 11.88 kB / 322.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.003663, allocations: 163.3 kB / 322.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.003854, allocations: 119.5 kB / 322.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.004155, allocations: 210 kB / 323 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.004329, allocations: 187.4 kB / 323.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.00442, allocations: 25.72 kB / 323.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.004522, allocations: 95.67 kB / 323.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.004606, allocations: 63.86 kB / 323.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.004625, allocations: 8 kB / 323.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.004721, allocations: 63.89 kB / 323.5 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.004773, allocations: 43.84 kB / 323.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.004817, allocations: 39.84 kB / 323.6 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.005034, allocations: 211.2 kB / 323.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.005036, allocations: 0 / 323.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005037, allocations: 0 / 323.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.005041, allocations: 0 / 323.8 MB, free: 1.613 MB / 282.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.0004786/0.005519, allocations: 438.8 kB / 324.2 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.00555, allocations: 12.03 kB / 324.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.005591, allocations: 16.84 kB / 324.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.005816, allocations: 208.8 kB / 324.4 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005829, allocations: 8.375 kB / 324.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.005841, allocations: 4.375 kB / 324.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.00606, allocations: 146.3 kB / 324.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.006068, allocations: 3.938 kB / 324.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.006077, allocations: 0 / 324.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.006082, allocations: 7.938 kB / 324.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.542e-05/0.006148, allocations: 39.92 kB / 324.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.006444, allocations: 294.2 kB / 324.9 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.006584, allocations: 107.8 kB / 325 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.006631, allocations: 46.5 kB / 325.1 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.006647, allocations: 4 kB / 325.1 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.006748, allocations: 71.38 kB / 325.1 MB, free: 68 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.006749, allocations: 4 kB / 325.2 MB, free: 64 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002325/0.006982, allocations: 145.4 kB / 325.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.00703, allocations: 110.8 kB / 325.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.007201, allocations: 265.7 kB / 325.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.007213, allocations: 29.7 kB / 325.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.007267, allocations: 112.1 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.007288, allocations: 23.83 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.007317, allocations: 21.72 kB / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.007395, allocations: 327.1 kB / 326.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.007432, allocations: 23.98 kB / 326.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.007479, allocations: 68.27 kB / 326.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.007545, allocations: 69.77 kB / 326.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007547, allocations: 0 / 326.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.702e-05/0.007644, allocations: 93.58 kB / 326.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.007654, allocations: 4 kB / 326.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007658, allocations: 0 / 326.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.007666, allocations: 7.938 kB / 326.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.007714, allocations: 12.06 kB / 326.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.007718, allocations: 160 / 326.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.00775, allocations: 15.94 kB / 326.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.007756, allocations: 4 kB / 326.5 MB, free: 14.67 MB / 298.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 7.715e-05/0.007833, allocations: 133.8 kB / 326.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.007878, allocations: 65.55 kB / 326.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.008014, allocations: 119.5 kB / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008016, allocations: 0 / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.008021, allocations: 3.984 kB / 326.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.008026, allocations: 8.062 kB / 326.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.008133, allocations: 165.1 kB / 326.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008134, allocations: 0 / 326.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.00815, allocations: 15.86 kB / 327 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.008154, allocations: 7.984 kB / 327 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.008162, allocations: 0 / 327 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.008163, allocations: 0 / 327 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008163, allocations: 4 kB / 327 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.008293, allocations: 162.6 kB / 327.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.008334, allocations: 27.84 kB / 327.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.008354, allocations: 12 kB / 327.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.008384, allocations: 8.047 kB / 327.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.008413, allocations: 4 kB / 327.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.008423, allocations: 4 kB / 327.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.00854, allocations: 201.2 kB / 327.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00854, allocations: 0 / 327.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.008695, allocations: 27.92 kB / 327.4 MB, free: 13.64 MB / 298.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.0006307/0.009325, allocations: 436.7 kB / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.009449, allocations: 63.91 kB / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.009451, allocations: 4 kB / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.009491, allocations: 31.86 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.009718, allocations: 70.19 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.01008, allocations: 346.5 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.954e-05/0.01015, allocations: 119.7 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.01018, allocations: 20.5 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01018, allocations: 0 / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Templates: time 0.002737/0.01292, allocations: 2.625 MB / 331.1 MB, free: 10.08 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.187633183784783]