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.001328/0.001328, allocations: 81.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001451/0.001451, allocations: 159.2 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.438/1.438, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001919/0.001919, allocations: 61.7 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1225, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004233/0.1267, allocations: 1.89 MB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.129, allocations: 1.169 MB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1292, allocations: 3.938 kB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.1298, allocations: 147.5 kB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.1303, allocations: 167.3 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.1308, allocations: 179.4 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.1311, allocations: 187.5 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1312, allocations: 25.73 kB / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1314, allocations: 79.62 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.1315, allocations: 79.61 kB / 382.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1315, allocations: 8 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1317, allocations: 55.97 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.1318, allocations: 55.77 kB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.1319, allocations: 43.67 kB / 383 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.1322, allocations: 219 kB / 383.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1322, allocations: 4 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1322, allocations: 0 / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1322, allocations: 0 / 383.2 MB, free: 11.18 MB / 350.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.0008264/0.1331, allocations: 450.7 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1331, allocations: 8.031 kB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.1332, allocations: 20.8 kB / 383.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1335, allocations: 209.5 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1336, allocations: 12.38 kB / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1336, allocations: 4.375 kB / 383.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1339, allocations: 142.2 kB / 384 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1339, allocations: 3.938 kB / 384 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1339, allocations: 4 kB / 384 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.134, allocations: 0 / 384 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1341, allocations: 35.98 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.1345, allocations: 302 kB / 384.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.1348, allocations: 111.9 kB / 384.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.1349, allocations: 38.56 kB / 384.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1349, allocations: 4 kB / 384.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1351, allocations: 83.31 kB / 384.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1351, allocations: 0 / 384.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000381/0.1354, allocations: 149.6 kB / 384.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.1355, allocations: 114.8 kB / 384.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.1358, allocations: 277.9 kB / 385.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1359, allocations: 25.7 kB / 385.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.136, allocations: 116.1 kB / 385.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.136, allocations: 19.84 kB / 385.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.136, allocations: 33.66 kB / 385.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1362, allocations: 338.7 kB / 385.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.1363, allocations: 15.98 kB / 385.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1364, allocations: 98.72 kB / 385.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1365, allocations: 88.25 kB / 385.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1365, allocations: 0 / 385.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002107/0.1368, allocations: 121.4 kB / 386 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1368, allocations: 6.969 kB / 386 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1368, allocations: 0 / 386 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1368, allocations: 4.125 kB / 386 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.1369, allocations: 12 kB / 386 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1369, allocations: 4 kB / 386 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.137, allocations: 11.94 kB / 386 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.137, allocations: 4 kB / 386 MB, free: 8.102 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.0001541/0.1371, allocations: 149.7 kB / 386.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.1372, allocations: 57.61 kB / 386.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1375, allocations: 115.4 kB / 386.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1375, allocations: 4 kB / 386.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1375, allocations: 4.375 kB / 386.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1375, allocations: 3.984 kB / 386.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1377, allocations: 177.1 kB / 386.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1377, allocations: 0 / 386.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.1377, allocations: 4 kB / 386.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1377, allocations: 4 kB / 386.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1377, allocations: 0 / 386.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1377, allocations: 0 / 386.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.1378, allocations: 7.938 kB / 386.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.138, allocations: 162.7 kB / 386.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.1381, allocations: 35.78 kB / 386.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1382, allocations: 8 kB / 386.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.1382, allocations: 7.984 kB / 386.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1383, allocations: 96 / 386.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.1383, allocations: 11.92 kB / 386.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.1385, allocations: 205.2 kB / 386.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1385, allocations: 0 / 386.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1388, allocations: 27.94 kB / 387 MB, free: 7.055 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.001742/0.1405, allocations: 441.5 kB / 387.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1408, allocations: 67.91 kB / 387.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1408, allocations: 0 / 387.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.1409, allocations: 31.92 kB / 387.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1413, allocations: 66.38 kB / 387.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.142, allocations: 321.6 kB / 387.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.1422, allocations: 123.9 kB / 388 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.924e-05/0.1422, allocations: 21.62 kB / 388 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.1423, allocations: 24.48 kB / 388 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1423, allocations: 0 / 388 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.006972/0.1493, allocations: 2.577 MB / 390.6 MB, free: 3.535 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.394909216905944]