Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009316/0.0009317, allocations: 176.1 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.355/1.355, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0008952/0.0008952, allocations: 82.31 kB / 270.9 MB, free: 8.348 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.07027/0.07027, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 15.98 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07308/0.07351, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001308/0.07485, allocations: 1.191 MB / 444.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.07515, allocations: 135.7 kB / 444.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.07523, allocations: 4 kB / 444.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.07527, allocations: 7.922 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.07538, allocations: 0 / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.07558, allocations: 31.91 kB / 444.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.07565, allocations: 23.92 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.07573, allocations: 7.984 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.07576, allocations: 7.938 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.52e-05/0.07579, allocations: 15.92 kB / 444.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.07581, allocations: 4 kB / 444.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.07582, allocations: 4 kB / 444.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.07585, allocations: 7.938 kB / 444.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.07587, allocations: 29.7 kB / 444.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.173e-05/0.07593, allocations: 23.95 kB / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.07594, allocations: 0 / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.07595, allocations: 0 / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.07595, allocations: 0 / 444.5 MB, free: 14.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002935/0.07625, allocations: 359.4 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.07629, allocations: 12.03 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.07632, allocations: 7.906 kB / 444.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.07645, allocations: 186.8 kB / 445.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.07648, allocations: 0 / 445.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.07649, allocations: 11.89 kB / 445.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.07667, allocations: 85.05 kB / 445.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.07669, allocations: 8 kB / 445.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.0767, allocations: 3.984 kB / 445.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.07672, allocations: 0 / 445.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/0.07677, allocations: 15.98 kB / 445.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.077, allocations: 257.7 kB / 445.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.07707, allocations: 49.22 kB / 445.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.07711, allocations: 17.77 kB / 445.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.07714, allocations: 0 / 445.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.07716, allocations: 42.5 kB / 445.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.07717, allocations: 4 kB / 445.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000184/0.07736, allocations: 61.53 kB / 445.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.0774, allocations: 81.11 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.07748, allocations: 131.2 kB / 445.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.07749, allocations: 25.7 kB / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.07752, allocations: 80.14 kB / 445.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-06/0.07754, allocations: 4.234 kB / 445.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.07755, allocations: 4 kB / 445.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.0776, allocations: 322.8 kB / 446.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.07763, allocations: 4 kB / 446.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.07766, allocations: 17.7 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.07769, allocations: 11.95 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.0777, allocations: 4.062 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.497e-05/0.07778, allocations: 53.53 kB / 446.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.0778, allocations: 7.938 kB / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.07781, allocations: 0 / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.07782, allocations: 0 / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.28e-05/0.07784, allocations: 8 kB / 446.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.07785, allocations: 0 / 446.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.07788, allocations: 0 / 446.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.07789, allocations: 8.062 kB / 446.4 MB, free: 12.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.17e-05/0.07795, allocations: 126.4 kB / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.078, allocations: 41.55 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.07802, allocations: 11.48 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.07803, allocations: 0 / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.07804, allocations: 4 kB / 446.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.07805, allocations: 0 / 446.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.0782, allocations: 165.7 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.07822, allocations: 3.953 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.07823, allocations: 4.031 kB / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.07824, allocations: 0 / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.07825, allocations: 7.938 kB / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.07826, allocations: 0 / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.07826, allocations: 0 / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.07837, allocations: 148.3 kB / 446.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.07841, allocations: 101 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.07842, allocations: 0 / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.07848, allocations: 7.984 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.07852, allocations: 0 / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.07853, allocations: 0 / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.07857, allocations: 107.8 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07858, allocations: 0 / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.07878, allocations: 4 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 5.828e-05/0.07884, allocations: 95.25 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.07894, allocations: 23.92 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.07895, allocations: 0 / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.07898, allocations: 4 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.07928, allocations: 20.02 kB / 447.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.07951, allocations: 171.5 kB / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.07963, allocations: 0.6926 MB / 448.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.07965, allocations: 7.438 kB / 448.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.07966, allocations: 0 / 448.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Templates: time 0.001704/0.08137, allocations: 0.6092 MB / 448.7 MB, free: 9.676 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches