Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.001541, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001702/0.001702, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2515, allocations: 50.54 MB / 409.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003086/0.2546, allocations: 1.887 MB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2566, allocations: 1.192 MB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2568, allocations: 3.938 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.2574, allocations: 147.5 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.2578, allocations: 151.4 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.2582, allocations: 174.9 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.2585, allocations: 195.5 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2586, allocations: 21.55 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2587, allocations: 91.56 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.2588, allocations: 71.69 kB / 413.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.2589, allocations: 8 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.259, allocations: 59.97 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.2591, allocations: 43.78 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.2592, allocations: 79.47 kB / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.2595, allocations: 207 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2595, allocations: 0 / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2595, allocations: 0 / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2595, allocations: 0 / 414.2 MB, free: 13.21 MB / 334.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.0007049/0.2602, allocations: 0.5248 MB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2602, allocations: 8.031 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.2603, allocations: 20.75 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.2606, allocations: 266.8 kB / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2607, allocations: 4.375 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.2607, allocations: 12.12 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.261, allocations: 150.7 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.261, allocations: 3.938 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.261, allocations: 0 / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.261, allocations: 0 / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.2611, allocations: 35.97 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.2616, allocations: 362.4 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2618, allocations: 107.9 kB / 415.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.2619, allocations: 46.56 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.262, allocations: 4 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.2621, allocations: 75.39 kB / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.2621, allocations: 0 / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003332/0.2625, allocations: 149.3 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.2626, allocations: 132.5 kB / 416.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.2628, allocations: 269 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2629, allocations: 29.7 kB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.2629, allocations: 120 kB / 416.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.263, allocations: 15.89 kB / 416.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.263, allocations: 33.81 kB / 416.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2631, allocations: 334.8 kB / 416.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.2632, allocations: 23.94 kB / 416.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.2633, allocations: 73.97 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.2634, allocations: 80.52 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2634, allocations: 4 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001911/0.2636, allocations: 117.3 kB / 417.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2637, allocations: 8 kB / 417.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2637, allocations: 4.125 kB / 417.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2637, allocations: 4 kB / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.2638, allocations: 11.98 kB / 417.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.2638, allocations: 4 kB / 417.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.2639, allocations: 11.88 kB / 417.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2639, allocations: 4 kB / 417.2 MB, free: 9.879 MB / 334.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,sample1.u,subSample1.y,subSample1.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.0001254/0.264, allocations: 149.7 kB / 417.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.2641, allocations: 65.44 kB / 417.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.2642, allocations: 21.7 kB / 417.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2642, allocations: 4 kB / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2642, allocations: 0 / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2642, allocations: 3.938 kB / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.2644, allocations: 229.6 kB / 417.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2644, allocations: 3.938 kB / 417.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.2644, allocations: 4 kB / 417.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2644, allocations: 0 / 417.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2644, allocations: 4 kB / 417.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2644, allocations: 0 / 417.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2644, allocations: 4.031 kB / 417.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2647, allocations: 162.4 kB / 417.9 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.2648, allocations: 104.8 kB / 418 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.2648, allocations: 8 kB / 418 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.2649, allocations: 11.92 kB / 418 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.2649, allocations: 4.062 kB / 418 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2649, allocations: 11.94 kB / 418 MB, free: 8.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.2651, allocations: 204.5 kB / 418.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2651, allocations: 0 / 418.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.2654, allocations: 27.98 kB / 418.2 MB, free: 8.766 MB / 334.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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009505/0.2663, allocations: 415.3 kB / 418.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.2665, allocations: 67.91 kB / 418.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2666, allocations: 0 / 418.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.2666, allocations: 27.98 kB / 418.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.267, allocations: 72.84 kB / 418.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.2676, allocations: 346.9 kB / 419.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2679, allocations: 0.7319 MB / 419.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.268, allocations: 19.44 kB / 419.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.268, allocations: 0 / 419.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of Templates: time 0.004678/0.2726, allocations: 2.664 MB / 422.6 MB, free: 4.527 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches