Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 179.4 kB / 16.77 MB, free: 4.898 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.645/1.645, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007595/0.0007596, allocations: 97.08 kB / 271.3 MB, free: 8.246 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.07351/0.07351, allocations: 12.59 MB / 332.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004161, allocations: 16 kB / 392.6 MB, free: 66.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08231, allocations: 50.37 MB / 443 MB, free: 16.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001413/0.08379, allocations: 1.14 MB / 444.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.08406, allocations: 91.78 kB / 444.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.08413, allocations: 0 / 444.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.08416, allocations: 3.938 kB / 444.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.0842, allocations: 4 kB / 444.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.08444, allocations: 19.92 kB / 444.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.08451, allocations: 23.92 kB / 444.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.08461, allocations: 8 kB / 444.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.08464, allocations: 7.984 kB / 444.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.08467, allocations: 7.938 kB / 444.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.08469, allocations: 8 kB / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.08471, allocations: 0 / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.08472, allocations: 3.984 kB / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.08477, allocations: 41.62 kB / 444.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.177e-05/0.08483, allocations: 11.92 kB / 444.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.08484, allocations: 0 / 444.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.08484, allocations: 0 / 444.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.08485, allocations: 0 / 444.3 MB, free: 14.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003001/0.08516, allocations: 335.7 kB / 444.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.0852, allocations: 16.03 kB / 444.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.08523, allocations: 8.781 kB / 444.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.08537, allocations: 172.4 kB / 444.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.0854, allocations: 8.375 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.08542, allocations: 384 / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.08565, allocations: 111.8 kB / 445 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.08567, allocations: 192 / 445 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.08569, allocations: 3.938 kB / 445 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.0857, allocations: 0 / 445 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/0.08576, allocations: 19.94 kB / 445 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.349e-05/0.08586, allocations: 153.7 kB / 445.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.08599, allocations: 54.56 kB / 445.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.08604, allocations: 24.91 kB / 445.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.08607, allocations: 0 / 445.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.08608, allocations: 34.56 kB / 445.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.08609, allocations: 0 / 445.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.08626, allocations: 73.47 kB / 445.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.0863, allocations: 59.41 kB / 445.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.08636, allocations: 105.8 kB / 445.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.08637, allocations: 25.7 kB / 445.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.823e-05/0.08639, allocations: 84.08 kB / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/0.0864, allocations: 0 / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.08641, allocations: 4 kB / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.08646, allocations: 318.8 kB / 445.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.08647, allocations: 0 / 445.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.0865, allocations: 31.44 kB / 445.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.08653, allocations: 39.36 kB / 446 MB, free: 12.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.08654, allocations: 0 / 446 MB, free: 12.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.817e-05/0.0866, allocations: 57.58 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.08662, allocations: 4 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.08663, allocations: 3.938 kB / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.08665, allocations: 4 kB / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.08668, allocations: 3.984 kB / 446 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.0867, allocations: 4 kB / 446.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.08672, allocations: 3.938 kB / 446.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.08673, allocations: 0 / 446.1 MB, free: 12.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.285e-05/0.08679, allocations: 126.6 kB / 446.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.08687, allocations: 57.53 kB / 446.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.0869, allocations: 15.44 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.08691, allocations: 0 / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.08692, allocations: 0 / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.08692, allocations: 0 / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.806e-05/0.08698, allocations: 157.7 kB / 446.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.08698, allocations: 0 / 446.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.087, allocations: 4 kB / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.08701, allocations: 0 / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.08702, allocations: 7.938 kB / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.08703, allocations: 256 / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.08703, allocations: 4 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.22e-05/0.08713, allocations: 81.11 kB / 446.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.08716, allocations: 81.02 kB / 446.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.08717, allocations: 3.938 kB / 446.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.0872, allocations: 4 kB / 446.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.08721, allocations: 4 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.08722, allocations: 3.938 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.148e-05/0.08724, allocations: 87.27 kB / 446.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08725, allocations: 0 / 446.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.08743, allocations: 4 kB / 446.7 MB, free: 12.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.145e-05/0.08751, allocations: 91.25 kB / 446.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.0876, allocations: 24.55 kB / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.08761, allocations: 4.062 kB / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.08761, allocations: 3.938 kB / 446.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.08783, allocations: 23.94 kB / 446.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.08806, allocations: 150.5 kB / 447 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.08817, allocations: 0.677 MB / 447.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.08819, allocations: 11.44 kB / 447.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0882, allocations: 4 kB / 447.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of Templates: time 0.001469/0.08967, allocations: 0.5235 MB / 448.2 MB, free: 10.45 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches