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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 105.6 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000937/0.000937, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.244, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003007/0.2471, allocations: 1.961 MB / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2488, allocations: 1.191 MB / 410.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2489, allocations: 15.06 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.2495, allocations: 139.6 kB / 410.4 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.2498, allocations: 135.6 kB / 410.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.2503, allocations: 178.9 kB / 410.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.2505, allocations: 187.5 kB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2506, allocations: 37.52 kB / 410.9 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.2507, allocations: 63.66 kB / 410.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.2508, allocations: 75.67 kB / 411 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2508, allocations: 7.938 kB / 411 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.251, allocations: 51.91 kB / 411.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.251, allocations: 35.91 kB / 411.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.2511, allocations: 67.48 kB / 411.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.2513, allocations: 204.8 kB / 411.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2513, allocations: 0 / 411.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.2513, allocations: 0 / 411.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2514, allocations: 0 / 411.4 MB, free: 23.49 MB / 298.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.0006808/0.252, allocations: 0.5157 MB / 411.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2521, allocations: 8.875 kB / 411.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.2522, allocations: 28.59 kB / 411.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.2525, allocations: 262.8 kB / 412.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2525, allocations: 4.375 kB / 412.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2525, allocations: 8.125 kB / 412.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.2528, allocations: 146.7 kB / 412.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2528, allocations: 0 / 412.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2528, allocations: 3.938 kB / 412.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2528, allocations: 4 kB / 412.4 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.2529, allocations: 31.98 kB / 412.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.2533, allocations: 378.3 kB / 412.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.2535, allocations: 107.9 kB / 412.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.2536, allocations: 46.56 kB / 412.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2536, allocations: 0 / 412.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.2538, allocations: 79.33 kB / 413 MB, free: 21.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.2538, allocations: 0 / 413 MB, free: 21.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003039/0.2541, allocations: 133.6 kB / 413.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2542, allocations: 144.6 kB / 413.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.2544, allocations: 272.9 kB / 413.5 MB, free: 21.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.2544, allocations: 25.7 kB / 413.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.2545, allocations: 116.1 kB / 413.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2545, allocations: 19.75 kB / 413.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.2545, allocations: 33.7 kB / 413.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.2546, allocations: 334.8 kB / 414 MB, free: 20.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/0.2547, allocations: 19.98 kB / 414.1 MB, free: 20.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.2547, allocations: 77.81 kB / 414.1 MB, free: 20.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2548, allocations: 76.25 kB / 414.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2548, allocations: 0 / 414.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001625/0.255, allocations: 117.4 kB / 414.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.255, allocations: 4 kB / 414.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.255, allocations: 4 kB / 414.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2551, allocations: 0 / 414.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.2551, allocations: 20.11 kB / 414.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2552, allocations: 0 / 414.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.2552, allocations: 15.84 kB / 414.4 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2552, allocations: 4 kB / 414.4 MB, free: 20.16 MB / 298.7 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 8.759e-05/0.2553, allocations: 151.2 kB / 414.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.2554, allocations: 61.5 kB / 414.6 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.2555, allocations: 25.7 kB / 414.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2555, allocations: 0 / 414.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2555, allocations: 8.375 kB / 414.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2555, allocations: 3.938 kB / 414.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2556, allocations: 221.7 kB / 414.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2556, allocations: 4 kB / 414.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.2557, allocations: 15.92 kB / 414.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2557, allocations: 0 / 414.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2557, allocations: 4 kB / 414.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2557, allocations: 4 kB / 414.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2557, allocations: 0 / 414.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.2561, allocations: 0.7579 MB / 415.6 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.2562, allocations: 108.8 kB / 415.7 MB, free: 18.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2562, allocations: 7.922 kB / 415.7 MB, free: 18.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.2562, allocations: 8 kB / 415.7 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.2563, allocations: 8 kB / 415.7 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2563, allocations: 7.984 kB / 415.8 MB, free: 18.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.2565, allocations: 200.5 kB / 415.9 MB, free: 18.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.2565, allocations: 0 / 415.9 MB, free: 18.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.2568, allocations: 39.84 kB / 416 MB, free: 18.4 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,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.0008412/0.2577, allocations: 415.2 kB / 416.4 MB, free: 18.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.2579, allocations: 64.05 kB / 416.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2579, allocations: 4 kB / 416.5 MB, free: 18.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.258, allocations: 23.92 kB / 416.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.2584, allocations: 60.97 kB / 416.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.2589, allocations: 497.5 kB / 417 MB, free: 17.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.259, allocations: 0.7322 MB / 417.8 MB, free: 16.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.2591, allocations: 21.53 kB / 417.8 MB, free: 16.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.2591, allocations: 19.44 kB / 417.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2591, allocations: 0 / 417.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of Templates: time 0.004703/0.2638, allocations: 2.374 MB / 420.2 MB, free: 14.29 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches