Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008539/0.000854, allocations: 174.2 kB / 16.8 MB, free: 5.012 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.429/1.429, allocations: 205.4 MB / 223 MB, free: 9.012 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.0007221/0.0007222, allocations: 93.48 kB / 271.3 MB, free: 8.238 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.07437/0.07437, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004154, allocations: 19.94 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08111, allocations: 50.38 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.001617/0.08278, allocations: 1.215 MB / 444.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003368/0.08315, allocations: 135.6 kB / 445 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.08326, allocations: 4 kB / 445 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.08331, allocations: 3.938 kB / 445.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.08345, allocations: 0 / 445.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.08373, allocations: 39.89 kB / 445.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.932e-05/0.08382, allocations: 23.94 kB / 445.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.08393, allocations: 19.98 kB / 445.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.08397, allocations: 7.938 kB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.79e-05/0.084, allocations: 19.86 kB / 445.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.08403, allocations: 0 / 445.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.08404, allocations: 0 / 445.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.0841, allocations: 11.92 kB / 445.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.08414, allocations: 45.56 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.395e-05/0.08421, allocations: 24.23 kB / 445.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.08422, allocations: 0 / 445.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08423, allocations: 4 kB / 445.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.08424, allocations: 0 / 445.2 MB, free: 13.85 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000332/0.08457, allocations: 359.2 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.08462, allocations: 8.031 kB / 445.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.08465, allocations: 16.77 kB / 445.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.08479, allocations: 188.2 kB / 445.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.08482, allocations: 4.375 kB / 445.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.08484, allocations: 384 / 445.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.08508, allocations: 121.5 kB / 445.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.08509, allocations: 192 / 445.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.08511, allocations: 7.938 kB / 445.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.08512, allocations: 0 / 445.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.08518, allocations: 23.92 kB / 446 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.08543, allocations: 253.8 kB / 446.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.08557, allocations: 142.2 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.08563, allocations: 33.77 kB / 446.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.08566, allocations: 0 / 446.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.08568, allocations: 30.56 kB / 446.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.08569, allocations: 4 kB / 446.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.08589, allocations: 73.52 kB / 446.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.08593, allocations: 85.17 kB / 446.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.08602, allocations: 137.8 kB / 446.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.08603, allocations: 25.7 kB / 446.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.08607, allocations: 84.14 kB / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.08608, allocations: 3.906 kB / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.08609, allocations: 0 / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.08614, allocations: 322.8 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.08617, allocations: 4 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.08621, allocations: 43.59 kB / 447.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.471e-05/0.08627, allocations: 39.38 kB / 447.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.08628, allocations: 4 kB / 447.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.472e-05/0.08638, allocations: 61.56 kB / 447.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.08641, allocations: 8 kB / 447.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.08642, allocations: 3.984 kB / 447.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.08645, allocations: 0 / 447.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.576e-05/0.08647, allocations: 4 kB / 447.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.08648, allocations: 7.875 kB / 447.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.08652, allocations: 8.125 kB / 447.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.08653, allocations: 0 / 447.3 MB, free: 11.49 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/0.0866, allocations: 118.7 kB / 447.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.08666, allocations: 53.59 kB / 447.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.08669, allocations: 7.906 kB / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.0867, allocations: 0 / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.08671, allocations: 3.984 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.08672, allocations: 4 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.08684, allocations: 165.6 kB / 447.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.08685, allocations: 7.984 kB / 447.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.08686, allocations: 7.938 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.08687, allocations: 0 / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.08688, allocations: 7.938 kB / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.08688, allocations: 0 / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.08689, allocations: 3.984 kB / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.08701, allocations: 164.2 kB / 447.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.08705, allocations: 97 kB / 447.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.08707, allocations: 0 / 447.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.08713, allocations: 3.984 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.08716, allocations: 4 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.08717, allocations: 0 / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.08722, allocations: 103.3 kB / 448 MB, free: 10.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08722, allocations: 0 / 448 MB, free: 10.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.08747, allocations: 4 kB / 448 MB, free: 10.64 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: 4 (step.y,assignClock.u,assignClock.y,sample.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.682e-05/0.08755, allocations: 103.2 kB / 448.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.08766, allocations: 23.98 kB / 448.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.08767, allocations: 0 / 448.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.0877, allocations: 11.92 kB / 448.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.08804, allocations: 27.91 kB / 448.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.08832, allocations: 195.5 kB / 448.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.08844, allocations: 0.6926 MB / 449.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.08847, allocations: 11.44 kB / 449.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.08847, allocations: 0 / 449.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of Templates: time 0.001704/0.09018, allocations: 0.6685 MB / 449.8 MB, free: 8.844 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches