Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 114.1 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008764/0.0008765, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4333, allocations: 49.43 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003338/0.4367, allocations: 1.897 MB / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.4386, allocations: 1.044 MB / 403.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.4387, allocations: 7.938 kB / 403.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.4393, allocations: 147.5 kB / 403.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.4396, allocations: 111.6 kB / 403.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.4402, allocations: 198.6 kB / 404.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.4404, allocations: 187.5 kB / 404.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4406, allocations: 29.55 kB / 404.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.4407, allocations: 79.62 kB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.4408, allocations: 67.64 kB / 404.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.4408, allocations: 11.98 kB / 404.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.4409, allocations: 51.98 kB / 404.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.441, allocations: 39.84 kB / 404.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.4411, allocations: 71.53 kB / 404.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.4415, allocations: 211.1 kB / 404.8 MB, free: 4.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4415, allocations: 4 kB / 404.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4415, allocations: 0 / 404.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.4415, allocations: 0 / 404.8 MB, free: 4.754 MB / 318.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.0006963/0.4422, allocations: 0.5116 MB / 405.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4423, allocations: 11.89 kB / 405.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.4423, allocations: 20.8 kB / 405.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.4427, allocations: 278.9 kB / 405.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4427, allocations: 8.375 kB / 405.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.4427, allocations: 8.125 kB / 405.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.443, allocations: 138.7 kB / 405.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.443, allocations: 0 / 405.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.443, allocations: 4 kB / 405.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.443, allocations: 4 kB / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.4431, allocations: 31.92 kB / 405.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.4436, allocations: 362.4 kB / 406.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.4439, allocations: 111.9 kB / 406.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.4439, allocations: 46.5 kB / 406.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.444, allocations: 4 kB / 406.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.4441, allocations: 75.34 kB / 406.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.4441, allocations: 0 / 406.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003457/0.4445, allocations: 145.4 kB / 406.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.4446, allocations: 132.5 kB / 406.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.4449, allocations: 265.2 kB / 407 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.445, allocations: 29.7 kB / 407 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.445, allocations: 116.1 kB / 407.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.4451, allocations: 27.89 kB / 407.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.4451, allocations: 25.72 kB / 407.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4453, allocations: 334.8 kB / 407.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.4453, allocations: 20 kB / 407.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.4454, allocations: 73.92 kB / 407.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4456, allocations: 80.16 kB / 407.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4456, allocations: 32 / 407.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001892/0.4458, allocations: 109.5 kB / 407.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4458, allocations: 8 kB / 407.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4458, allocations: 0 / 407.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4458, allocations: 3.984 kB / 407.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.4459, allocations: 19.94 kB / 407.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4459, allocations: 0 / 407.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.446, allocations: 19.83 kB / 407.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.446, allocations: 4.109 kB / 407.8 MB, free: 1.434 MB / 318.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.000124/0.4461, allocations: 145.8 kB / 408 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.4462, allocations: 61.53 kB / 408 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.4463, allocations: 29.69 kB / 408.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4463, allocations: 0 / 408.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4463, allocations: 4 kB / 408.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4463, allocations: 3.938 kB / 408.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.4465, allocations: 221.5 kB / 408.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4465, allocations: 384 / 408.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.4466, allocations: 15.98 kB / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4466, allocations: 4 kB / 408.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4466, allocations: 0 / 408.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.4466, allocations: 7.938 kB / 408.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4466, allocations: 0 / 408.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.4469, allocations: 154.6 kB / 408.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.447, allocations: 112.9 kB / 408.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.447, allocations: 4 kB / 408.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.4471, allocations: 4 kB / 408.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.4471, allocations: 7.984 kB / 408.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.4471, allocations: 7.938 kB / 408.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.4474, allocations: 196.5 kB / 408.8 MB, free: 372 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4474, allocations: 0 / 408.8 MB, free: 372 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.4476, allocations: 28.03 kB / 408.8 MB, free: 344 kB / 318.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.001017/0.4487, allocations: 434.3 kB / 409.2 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.4489, allocations: 67.91 kB / 409.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4489, allocations: 0 / 409.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.385e-05/0.4489, allocations: 23.94 kB / 409.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4493, allocations: 72.05 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.4499, allocations: 312.9 kB / 409.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.4502, allocations: 0.7279 MB / 410.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.4503, allocations: 25.55 kB / 410.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.4503, allocations: 19.42 kB / 410.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4504, allocations: 0 / 410.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of Templates: time 0.005343/0.4557, allocations: 2.41 MB / 412.9 MB, free: 12.39 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches