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.0008204/0.0008205, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009234/0.0009234, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.144/1.144, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00018/0.00018, allocations: 4 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07486/0.07505, allocations: 51.53 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.001857/0.07694, allocations: 1.599 MB / 360.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.07843, allocations: 1.146 MB / 362 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.07853, allocations: 7.938 kB / 362 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.07898, allocations: 143.7 kB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.07925, allocations: 139.5 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.07959, allocations: 147.2 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.0798, allocations: 187.5 kB / 362.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.0799, allocations: 37.5 kB / 362.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.07999, allocations: 67.66 kB / 362.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.0801, allocations: 67.69 kB / 362.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.08012, allocations: 4 kB / 362.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.08022, allocations: 47.91 kB / 362.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.08029, allocations: 43.77 kB / 362.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.08038, allocations: 93.19 kB / 363 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.08059, allocations: 199.5 kB / 363.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.0806, allocations: 0 / 363.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08061, allocations: 0 / 363.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.08061, allocations: 0 / 363.2 MB, free: 9.375 MB / 302.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.0005548/0.08117, allocations: 488.3 kB / 363.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.08121, allocations: 11.97 kB / 363.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.08125, allocations: 24.66 kB / 363.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.08151, allocations: 270.8 kB / 363.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.08154, allocations: 4.375 kB / 363.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.08156, allocations: 8.125 kB / 363.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.08182, allocations: 146.7 kB / 364.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.08183, allocations: 0 / 364.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.08185, allocations: 4 kB / 364.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.08186, allocations: 4 kB / 364.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.08195, allocations: 35.91 kB / 364.1 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.08234, allocations: 366.3 kB / 364.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.08254, allocations: 111.9 kB / 364.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.08263, allocations: 42.56 kB / 364.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.08266, allocations: 4 kB / 364.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.08279, allocations: 71.39 kB / 364.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.0828, allocations: 0 / 364.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002907/0.08309, allocations: 141.3 kB / 364.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.08317, allocations: 140.5 kB / 365 MB, free: 7.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.08342, allocations: 268.9 kB / 365.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.08345, allocations: 33.7 kB / 365.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.08351, allocations: 112.1 kB / 365.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.08354, allocations: 23.73 kB / 365.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.08357, allocations: 17.97 kB / 365.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.08369, allocations: 334.8 kB / 365.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.08375, allocations: 19.98 kB / 365.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.08383, allocations: 69.94 kB / 365.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.08395, allocations: 84.19 kB / 365.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.08396, allocations: 0 / 365.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001721/0.08414, allocations: 109.7 kB / 366 MB, free: 6.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.08415, allocations: 4 kB / 366 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.08416, allocations: 4.188 kB / 366 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.08418, allocations: 8 kB / 366.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.08425, allocations: 19.92 kB / 366.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.08426, allocations: 7.984 kB / 366.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.08433, allocations: 11.88 kB / 366.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.08435, allocations: 4 kB / 366.1 MB, free: 6.094 MB / 302.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.0001047/0.08446, allocations: 145.8 kB / 366.2 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.08453, allocations: 69.34 kB / 366.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.08459, allocations: 29.77 kB / 366.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.0846, allocations: 0 / 366.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.08461, allocations: 4 kB / 366.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.08461, allocations: 3.938 kB / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.08477, allocations: 225.6 kB / 366.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.08478, allocations: 4 kB / 366.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.08481, allocations: 11.92 kB / 366.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.08482, allocations: 0 / 366.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.08483, allocations: 4 kB / 366.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.08484, allocations: 4 kB / 366.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.08485, allocations: 7.984 kB / 366.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.08506, allocations: 158.4 kB / 366.7 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.08514, allocations: 104.9 kB / 366.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.08517, allocations: 8 kB / 366.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.08523, allocations: 7.984 kB / 366.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.08526, allocations: 4 kB / 366.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.08528, allocations: 7.938 kB / 366.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.08546, allocations: 204.5 kB / 367.1 MB, free: 5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08547, allocations: 0 / 367.1 MB, free: 5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.08569, allocations: 27.98 kB / 367.1 MB, free: 4.973 MB / 302.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.0007774/0.08648, allocations: 410.2 kB / 367.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.08666, allocations: 75.78 kB / 367.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.08667, allocations: 0 / 367.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.815e-05/0.08673, allocations: 23.98 kB / 367.6 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.08707, allocations: 56.19 kB / 367.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.08752, allocations: 367 kB / 368 MB, free: 4.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.08778, allocations: 0.7361 MB / 368.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.08784, allocations: 21.8 kB / 368.8 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.08788, allocations: 19.44 kB / 368.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of SimCode: time 2.274e-06/0.08789, allocations: 0 / 368.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of Templates: time 0.004452/0.09235, allocations: 2.3 MB / 371.1 MB, free: 1.078 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/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