Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001977/0.001978, allocations: 112.5 kB / 17.06 MB, free: 5.945 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.002067/0.002067, allocations: 196.1 kB / 18.01 MB, free: 5.027 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.548/1.548, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 51.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4228, allocations: 49.42 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003724/0.4265, allocations: 1.885 MB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.4286, allocations: 1.071 MB / 403.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.4288, allocations: 4 kB / 403.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007537/0.4296, allocations: 155.5 kB / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.4299, allocations: 114.4 kB / 403.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.4306, allocations: 213.2 kB / 404.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.4308, allocations: 179.5 kB / 404.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.431, allocations: 33.53 kB / 404.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.4311, allocations: 79.62 kB / 404.4 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.4312, allocations: 63.7 kB / 404.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.4313, allocations: 11.98 kB / 404.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.4314, allocations: 59.97 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.4315, allocations: 39.84 kB / 404.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.58e-05/0.4316, allocations: 75.47 kB / 404.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.4319, allocations: 203.1 kB / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.432, allocations: 0 / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.432, allocations: 0 / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.432, allocations: 0 / 404.9 MB, free: 4.691 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.0009238/0.4329, allocations: 0.5193 MB / 405.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.433, allocations: 11.89 kB / 405.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.433, allocations: 20.8 kB / 405.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.4334, allocations: 271 kB / 405.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.4335, allocations: 4.375 kB / 405.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.4335, allocations: 12.12 kB / 405.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.4339, allocations: 138.7 kB / 405.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4339, allocations: 4 kB / 405.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4339, allocations: 4 kB / 405.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4339, allocations: 0 / 405.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.4341, allocations: 35.91 kB / 405.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.4346, allocations: 362.4 kB / 406.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.4348, allocations: 107.9 kB / 406.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.4349, allocations: 46.5 kB / 406.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.435, allocations: 4 kB / 406.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.4351, allocations: 83.22 kB / 406.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.4351, allocations: 0 / 406.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003733/0.4355, allocations: 137.7 kB / 406.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.4356, allocations: 136.5 kB / 406.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4359, allocations: 265.2 kB / 407 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4359, allocations: 29.7 kB / 407 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.436, allocations: 116.1 kB / 407.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.436, allocations: 19.97 kB / 407.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.4361, allocations: 29.7 kB / 407.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4362, allocations: 330.8 kB / 407.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.4363, allocations: 19.98 kB / 407.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.4364, allocations: 82 kB / 407.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.4365, allocations: 72.22 kB / 407.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4365, allocations: 4.031 kB / 407.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002126/0.4368, allocations: 113.5 kB / 407.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4368, allocations: 8 kB / 407.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4368, allocations: 0 / 407.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4368, allocations: 4 kB / 407.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.4369, allocations: 12 kB / 407.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4369, allocations: 4 kB / 407.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.437, allocations: 19.81 kB / 407.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.437, allocations: 8.125 kB / 407.9 MB, free: 1.367 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,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.0001246/0.4371, allocations: 145.8 kB / 408 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.4372, allocations: 57.59 kB / 408.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.4373, allocations: 25.7 kB / 408.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4373, allocations: 4 kB / 408.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4373, allocations: 0 / 408.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4373, allocations: 3.938 kB / 408.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4375, allocations: 225.5 kB / 408.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4375, allocations: 12 kB / 408.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.4375, allocations: 7.938 kB / 408.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4375, allocations: 0 / 408.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.4376, allocations: 0 / 408.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4376, allocations: 8.062 kB / 408.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4376, allocations: 0 / 408.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.4378, allocations: 166.5 kB / 408.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.4379, allocations: 105 kB / 408.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4379, allocations: 4 kB / 408.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.438, allocations: 7.984 kB / 408.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.4381, allocations: 4 kB / 408.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4381, allocations: 7.938 kB / 408.6 MB, free: 500 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.4383, allocations: 192.5 kB / 408.8 MB, free: 308 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4383, allocations: 0 / 408.8 MB, free: 308 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.4385, allocations: 31.94 kB / 408.8 MB, free: 276 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.0009701/0.4395, allocations: 427.1 kB / 409.3 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.4397, allocations: 71.84 kB / 409.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4398, allocations: 3.938 kB / 409.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.4398, allocations: 24 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.4402, allocations: 72.72 kB / 409.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.4408, allocations: 308.5 kB / 409.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.441, allocations: 0.7318 MB / 410.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.4411, allocations: 29.52 kB / 410.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.4412, allocations: 15.44 kB / 410.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4412, allocations: 0 / 410.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Templates: time 0.005757/0.4469, allocations: 2.412 MB / 412.9 MB, free: 12.33 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches