Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 175.3 kB / 16.45 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.4 MB / 222.6 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007687/0.0007689, allocations: 86.3 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06657/0.06657, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003973, allocations: 16 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06579/0.06621, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.001611/0.06786, allocations: 1.548 MB / 444.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.06895, allocations: 0.9292 MB / 445.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.06905, allocations: 4 kB / 445.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.06948, allocations: 135.6 kB / 445.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.06969, allocations: 95.7 kB / 445.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.07007, allocations: 163.6 kB / 445.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.07023, allocations: 163.5 kB / 446.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.07032, allocations: 25.53 kB / 446.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.0704, allocations: 63.7 kB / 446.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.07048, allocations: 63.7 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.07051, allocations: 0 / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.0706, allocations: 47.91 kB / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.07065, allocations: 31.91 kB / 446.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.07069, allocations: 49.58 kB / 446.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.07084, allocations: 148 kB / 446.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.07085, allocations: 0 / 446.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07086, allocations: 0 / 446.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.07086, allocations: 0 / 446.5 MB, free: 12.31 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.0004868/0.07136, allocations: 0.4883 MB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.07139, allocations: 12.03 kB / 447 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.07143, allocations: 15.81 kB / 447 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.07166, allocations: 257.6 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.07168, allocations: 4 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.07171, allocations: 8 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.07195, allocations: 150.7 kB / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.07196, allocations: 0 / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.07198, allocations: 0 / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.07199, allocations: 4 kB / 447.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.07208, allocations: 39.86 kB / 447.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.07245, allocations: 358.4 kB / 447.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.07263, allocations: 111.9 kB / 447.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.0727, allocations: 38.58 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.07273, allocations: 7.984 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.07286, allocations: 71.33 kB / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.07287, allocations: 0 / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000274/0.07315, allocations: 145.3 kB / 448.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.0732, allocations: 136.5 kB / 448.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.07339, allocations: 261 kB / 448.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.07341, allocations: 29.64 kB / 448.6 MB, free: 9.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.07346, allocations: 120.1 kB / 448.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.07349, allocations: 24.05 kB / 448.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.0735, allocations: 8 kB / 448.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.07355, allocations: 326.8 kB / 449.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.0736, allocations: 19.98 kB / 449.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.07367, allocations: 69.94 kB / 449.1 MB, free: 9.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.07374, allocations: 24.03 kB / 449.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.07375, allocations: 4 kB / 449.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001599/0.07392, allocations: 113.4 kB / 449.3 MB, free: 9.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.07394, allocations: 4 kB / 449.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.07395, allocations: 4 kB / 449.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.07396, allocations: 0 / 449.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.07404, allocations: 20.11 kB / 449.3 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.07405, allocations: 0 / 449.3 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.07412, allocations: 15.86 kB / 449.3 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.07414, allocations: 4 kB / 449.3 MB, free: 9.141 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/0.07422, allocations: 145.9 kB / 449.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.07429, allocations: 69.42 kB / 449.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.07434, allocations: 21.7 kB / 449.6 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.07435, allocations: 4 kB / 449.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.07436, allocations: 12 kB / 449.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.07436, allocations: 0 / 449.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.07449, allocations: 229.5 kB / 449.8 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.0745, allocations: 0 / 449.8 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.07453, allocations: 7.984 kB / 449.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.07453, allocations: 4 kB / 449.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.07455, allocations: 0 / 449.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.07455, allocations: 0 / 449.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.07456, allocations: 4 kB / 449.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.07474, allocations: 158.4 kB / 450 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.0748, allocations: 104.9 kB / 450.1 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.07484, allocations: 8 kB / 450.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.0749, allocations: 7.984 kB / 450.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.07494, allocations: 4 kB / 450.1 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.07496, allocations: 4 kB / 450.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.07509, allocations: 196.5 kB / 450.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0751, allocations: 3.938 kB / 450.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.07532, allocations: 28 kB / 450.3 MB, free: 8.043 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000722/0.07605, allocations: 427.4 kB / 450.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.07623, allocations: 63.91 kB / 450.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.07625, allocations: 256 / 450.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.07633, allocations: 28 kB / 450.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.07668, allocations: 64.25 kB / 450.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.07711, allocations: 365.7 kB / 451.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.07725, allocations: 0.7322 MB / 452 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.07729, allocations: 19.42 kB / 452 MB, free: 6.293 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.0773, allocations: 0 / 452 MB, free: 6.293 MB / 298.7 MB Notification: Performance of Templates: time 0.003375/0.08068, allocations: 2.563 MB / 454.6 MB, free: 3.723 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches