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.0008734/0.0008734, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.0008789/0.0008789, allocations: 142 kB / 24.89 MB, free: 8.773 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.9503/0.9503, allocations: 173.4 MB / 201.5 MB, free: 9.168 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.553e-06/1.553e-06, allocations: 3.938 kB / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.695e-05, allocations: 2.312 kB / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002405/0.002422, allocations: 1.972 MB / 270.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.003692, allocations: 1.059 MB / 271.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.003793, allocations: 7.938 kB / 271.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.004275, allocations: 155.4 kB / 271.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.004453, allocations: 115.5 kB / 271.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.004825, allocations: 203.2 kB / 272 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.005017, allocations: 183.5 kB / 272.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.005101, allocations: 26.39 kB / 272.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.005214, allocations: 99.67 kB / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.005302, allocations: 63.8 kB / 272.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.005321, allocations: 8 kB / 272.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.005437, allocations: 59.94 kB / 272.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.005491, allocations: 51.84 kB / 272.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.00553, allocations: 31.86 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.005721, allocations: 163.3 kB / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-06/0.005722, allocations: 0 / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005723, allocations: 0 / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.005726, allocations: 0 / 272.7 MB, free: 1.926 MB / 250.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.0003949/0.006121, allocations: 421.4 kB / 273.1 MB, free: 1.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.006151, allocations: 8.031 kB / 273.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.006185, allocations: 16.92 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.00638, allocations: 201.6 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.006393, allocations: 4.375 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.006404, allocations: 12.36 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.006568, allocations: 121.2 kB / 273.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.006576, allocations: 3.938 kB / 273.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.006583, allocations: 0 / 273.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.006588, allocations: 4 kB / 273.5 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.006619, allocations: 18.75 kB / 273.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.006845, allocations: 207.5 kB / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/0.006945, allocations: 126.6 kB / 273.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.006973, allocations: 34.5 kB / 273.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.006987, allocations: 7.938 kB / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.303e-05/0.00707, allocations: 70.2 kB / 273.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.007071, allocations: 0 / 273.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001241/0.007195, allocations: 85.53 kB / 274 MB, free: 460 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.007236, allocations: 106.8 kB / 274.1 MB, free: 328 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.007367, allocations: 226.7 kB / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.00738, allocations: 25.95 kB / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.007429, allocations: 108 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.00745, allocations: 19.89 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.007481, allocations: 33.62 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.007555, allocations: 326.8 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.00757, allocations: 10.81 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.0076, allocations: 48.28 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.007638, allocations: 39.28 kB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007639, allocations: 4 kB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.518e-05/0.007705, allocations: 68.38 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.007715, allocations: 15.03 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.007719, allocations: 0 / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.007728, allocations: 0 / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.69e-05/0.007775, allocations: 11.98 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.007777, allocations: 4 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.007804, allocations: 4 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.007809, allocations: 0 / 275 MB, free: 15.32 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 6.311e-05/0.007872, allocations: 116.7 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.00791, allocations: 57.55 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.739e-05/0.007998, allocations: 75.47 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.008004, allocations: 4.312 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008005, allocations: 0 / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008009, allocations: 3.938 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.628e-05/0.008095, allocations: 121.8 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008096, allocations: 0 / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.008113, allocations: 4 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.008116, allocations: 4 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.008122, allocations: 3.938 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008123, allocations: 0 / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008124, allocations: 4 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.051e-05/0.008195, allocations: 108.4 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.008227, allocations: 19.91 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.008245, allocations: 11.92 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.008271, allocations: 4 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.008295, allocations: 7.984 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.008305, allocations: 8 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.958e-05/0.008365, allocations: 77.61 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008365, allocations: 0 / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.008496, allocations: 31.89 kB / 275.7 MB, free: 14.6 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.001003/0.009499, allocations: 0.5256 MB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.574e-05/0.009585, allocations: 40.77 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.009588, allocations: 0 / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.009616, allocations: 20.8 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.009789, allocations: 57.27 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.0101, allocations: 296.6 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.01015, allocations: 75.83 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.01019, allocations: 25.59 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.01026, allocations: 79.3 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01026, allocations: 4 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Templates: time 0.004052/0.01432, allocations: 2.758 MB / 279.5 MB, free: 10.95 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",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.6036649118177593]