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.001232/0.001232, allocations: 109.2 kB / 17.06 MB, free: 6.02 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.001396/0.001396, allocations: 192 kB / 18 MB, free: 5.102 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.575/1.575, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 47.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4117, allocations: 49.43 MB / 400.7 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003732/0.4155, allocations: 1.884 MB / 402.6 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.4175, allocations: 1.075 MB / 403.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.4177, allocations: 4 kB / 403.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.4184, allocations: 155.5 kB / 403.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.4187, allocations: 118.8 kB / 404 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.4194, allocations: 202.9 kB / 404.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.4197, allocations: 187.5 kB / 404.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4198, allocations: 29.55 kB / 404.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.4199, allocations: 79.62 kB / 404.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.4201, allocations: 71.62 kB / 404.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.4201, allocations: 8 kB / 404.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.4203, allocations: 59.97 kB / 404.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.3e-05/0.4204, allocations: 43.83 kB / 404.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.4205, allocations: 71.55 kB / 404.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.4208, allocations: 204.5 kB / 404.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4208, allocations: 4 kB / 404.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4208, allocations: 0 / 404.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4208, allocations: 0 / 404.9 MB, free: 4.875 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.0008204/0.4217, allocations: 0.4963 MB / 405.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4217, allocations: 8.031 kB / 405.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.4218, allocations: 24.64 kB / 405.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.4222, allocations: 270.8 kB / 405.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4222, allocations: 4.375 kB / 405.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4223, allocations: 12.12 kB / 405.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.4226, allocations: 146.7 kB / 405.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4226, allocations: 0 / 405.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4227, allocations: 0 / 405.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4227, allocations: 7.938 kB / 405.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.4228, allocations: 31.92 kB / 405.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.4234, allocations: 362.4 kB / 406.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.4236, allocations: 107.9 kB / 406.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.561e-05/0.4237, allocations: 46.5 kB / 406.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.4238, allocations: 11.98 kB / 406.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.4239, allocations: 71.3 kB / 406.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.424, allocations: 0 / 406.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003839/0.4243, allocations: 145.3 kB / 406.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4245, allocations: 136.8 kB / 406.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.4248, allocations: 261 kB / 407 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.4248, allocations: 29.7 kB / 407 MB, free: 2.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.4249, allocations: 116 kB / 407.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.4249, allocations: 15.89 kB / 407.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.425, allocations: 29.62 kB / 407.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4251, allocations: 334.8 kB / 407.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.4252, allocations: 20 kB / 407.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4253, allocations: 66 kB / 407.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4255, allocations: 88.12 kB / 407.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4255, allocations: 0 / 407.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002188/0.4257, allocations: 109.4 kB / 407.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4257, allocations: 8 kB / 407.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.4258, allocations: 0 / 407.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4258, allocations: 0 / 407.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.4259, allocations: 23.92 kB / 407.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4259, allocations: 0 / 407.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.426, allocations: 20 kB / 407.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.426, allocations: 4 kB / 407.8 MB, free: 1.578 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.0001407/0.4261, allocations: 141.8 kB / 408 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.4262, allocations: 65.34 kB / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.4263, allocations: 29.69 kB / 408.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4263, allocations: 4 kB / 408.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4263, allocations: 0 / 408.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4263, allocations: 3.938 kB / 408.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.4265, allocations: 221.7 kB / 408.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4265, allocations: 320 / 408.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.4266, allocations: 8 kB / 408.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4266, allocations: 4 kB / 408.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4266, allocations: 3.984 kB / 408.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4266, allocations: 7.938 kB / 408.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4266, allocations: 0 / 408.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.4269, allocations: 158.5 kB / 408.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.427, allocations: 112.8 kB / 408.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.427, allocations: 4 kB / 408.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.4271, allocations: 4 kB / 408.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.4272, allocations: 7.984 kB / 408.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4272, allocations: 7.938 kB / 408.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.4274, allocations: 192.5 kB / 408.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4274, allocations: 0 / 408.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.4277, allocations: 39.91 kB / 408.8 MB, free: 484 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.001071/0.4288, allocations: 418.3 kB / 409.2 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.429, allocations: 71.84 kB / 409.3 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.429, allocations: 0 / 409.3 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.4291, allocations: 27.98 kB / 409.3 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.4296, allocations: 63.89 kB / 409.4 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.4302, allocations: 301 kB / 409.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.4306, allocations: 0.7318 MB / 410.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.108e-05/0.4306, allocations: 25.53 kB / 410.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.4307, allocations: 19.44 kB / 410.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4307, allocations: 0 / 410.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Templates: time 0.007015/0.4377, allocations: 2.421 MB / 412.9 MB, free: 12.54 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