Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001425/0.001425, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009968/0.0009968, allocations: 161 kB / 24.91 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9406/0.9406, allocations: 177 MB / 205.2 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.06e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002515/0.002536, allocations: 1.982 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003945, allocations: 1.218 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004058, allocations: 3.938 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.00453, allocations: 147.5 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.004797, allocations: 159.3 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.005155, allocations: 179.2 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.005357, allocations: 191.5 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.00544, allocations: 18.45 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.005568, allocations: 107.7 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.005661, allocations: 63.8 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.005683, allocations: 12 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.005804, allocations: 59.89 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.005856, allocations: 43.83 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.005898, allocations: 39.86 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.006091, allocations: 159.3 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006093, allocations: 4 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.006094, allocations: 0 / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.006098, allocations: 0 / 277.8 MB, free: 12.82 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.0003979/0.006496, allocations: 417.4 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.006526, allocations: 15.98 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.006561, allocations: 20.86 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.006765, allocations: 209.5 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.006779, allocations: 4.375 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.006789, allocations: 12.38 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.006955, allocations: 121.2 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.006962, allocations: 192 / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.00697, allocations: 4.375 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006976, allocations: 7.938 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.057e-05/0.007006, allocations: 18.75 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.007235, allocations: 211.5 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.007339, allocations: 130.6 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.00737, allocations: 34.5 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.007386, allocations: 4 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.38e-05/0.00747, allocations: 66.16 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.007471, allocations: 0 / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001276/0.007599, allocations: 85.53 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.007639, allocations: 107.1 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.007773, allocations: 238.7 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.007788, allocations: 25.7 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.007827, allocations: 104.5 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.007846, allocations: 19.89 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.007876, allocations: 21.7 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.007958, allocations: 334.8 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.007971, allocations: 6.828 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.008002, allocations: 48.28 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.008042, allocations: 47.27 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008044, allocations: 4.031 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.536e-05/0.008109, allocations: 64.45 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.00812, allocations: 7.938 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.008125, allocations: 3.984 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.008135, allocations: 0 / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.008185, allocations: 15.94 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.008187, allocations: 0 / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.008217, allocations: 11.89 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.008222, allocations: 0 / 280.2 MB, free: 10.19 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.613e-05/0.008288, allocations: 129 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.008333, allocations: 53.56 kB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.008419, allocations: 79.53 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008421, allocations: 0 / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.008424, allocations: 3.984 kB / 280.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.008427, allocations: 0 / 280.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.442e-05/0.008511, allocations: 105.8 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008513, allocations: 0 / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.008534, allocations: 11.98 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.008536, allocations: 0 / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.008542, allocations: 8.062 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008544, allocations: 3.938 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008545, allocations: 80 / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.251e-05/0.008617, allocations: 108.4 kB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.008656, allocations: 39.77 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.008671, allocations: 0 / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.008701, allocations: 11.92 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.008726, allocations: 4 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.008736, allocations: 4 kB / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.008799, allocations: 85.59 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008799, allocations: 4 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001287/0.008927, allocations: 28 kB / 280.8 MB, free: 9.449 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.001035/0.009962, allocations: 0.4976 MB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.68e-05/0.01005, allocations: 36.78 kB / 281.4 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.01005, allocations: 4 kB / 281.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.01008, allocations: 24.73 kB / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.01027, allocations: 61.52 kB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.0106, allocations: 303.6 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.01064, allocations: 71.83 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.511e-05/0.01068, allocations: 33.55 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.01076, allocations: 79.36 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01076, allocations: 0 / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of Templates: time 0.004301/0.01506, allocations: 2.769 MB / 284.7 MB, free: 5.746 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6256993212737143]