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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001693, allocations: 101.2 kB / 16.31 MB, free: 5.879 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.001755/0.001755, allocations: 189.7 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 223.1 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08247/0.08247, allocations: 12.59 MB / 283.1 MB, free: 15.47 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 86.84 kB / 343.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 49.39 MB / 392.9 MB, free: 49.44 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003763/0.344, allocations: 1.476 MB / 394.4 MB, free: 48.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.3446, allocations: 133.9 kB / 394.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.3448, allocations: 1.125 kB / 394.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.805e-05/0.3449, allocations: 4.547 kB / 394.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.345, allocations: 11.77 kB / 394.5 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.3454, allocations: 35.69 kB / 394.5 MB, free: 48.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3455, allocations: 25.92 kB / 394.6 MB, free: 48.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3457, allocations: 10.67 kB / 394.6 MB, free: 48.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.3457, allocations: 8.625 kB / 394.6 MB, free: 48.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.3458, allocations: 13.16 kB / 394.6 MB, free: 48.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3458, allocations: 2.188 kB / 394.6 MB, free: 48.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.918e-05/0.3458, allocations: 2.25 kB / 394.6 MB, free: 48.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.3459, allocations: 17.89 kB / 394.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.346, allocations: 20.28 kB / 394.6 MB, free: 48.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.3461, allocations: 37.89 kB / 394.7 MB, free: 48.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3462, allocations: 1.094 kB / 394.7 MB, free: 48.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3462, allocations: 0 / 394.7 MB, free: 48.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.3462, allocations: 0 / 394.7 MB, free: 48.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005393/0.3467, allocations: 360 kB / 395 MB, free: 47.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3468, allocations: 10.22 kB / 395 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.3469, allocations: 12.56 kB / 395.1 MB, free: 47.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3471, allocations: 191.2 kB / 395.2 MB, free: 47.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3471, allocations: 9.641 kB / 395.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3471, allocations: 10.78 kB / 395.3 MB, free: 47.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.3474, allocations: 83.44 kB / 395.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3474, allocations: 1.531 kB / 395.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3474, allocations: 3.938 kB / 395.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3475, allocations: 0 / 395.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.3475, allocations: 18.58 kB / 395.4 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.3479, allocations: 256.8 kB / 395.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.575e-05/0.348, allocations: 43.91 kB / 395.7 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.348, allocations: 18.33 kB / 395.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.348, allocations: 1.484 kB / 395.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3481, allocations: 36.48 kB / 395.7 MB, free: 47.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3481, allocations: 0 / 395.7 MB, free: 47.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002579/0.3484, allocations: 61.86 kB / 395.8 MB, free: 47.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3484, allocations: 79.25 kB / 395.9 MB, free: 47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3486, allocations: 131.8 kB / 396 MB, free: 46.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3486, allocations: 30.86 kB / 396 MB, free: 46.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.3486, allocations: 82.69 kB / 396.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.3487, allocations: 5.125 kB / 396.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.3487, allocations: 21.56 kB / 396.1 MB, free: 46.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.3488, allocations: 313.3 kB / 396.4 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.3488, allocations: 4.656 kB / 396.4 MB, free: 46.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.3489, allocations: 23.86 kB / 396.5 MB, free: 46.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.3489, allocations: 26.2 kB / 396.5 MB, free: 46.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3489, allocations: 0 / 396.5 MB, free: 46.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.825e-05/0.349, allocations: 46.44 kB / 396.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3491, allocations: 5 kB / 396.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3491, allocations: 1.062 kB / 396.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3491, allocations: 9.188 kB / 396.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.747e-05/0.3491, allocations: 0.5625 kB / 396.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.3491, allocations: 5.656 kB / 396.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.3492, allocations: 1.781 kB / 396.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.3492, allocations: 2.188 kB / 396.5 MB, free: 46.34 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.3493, allocations: 120.8 kB / 396.7 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.3494, allocations: 41.2 kB / 396.7 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.3494, allocations: 11.06 kB / 396.7 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3494, allocations: 5.906 kB / 396.7 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3494, allocations: 0 / 396.7 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3494, allocations: 1.125 kB / 396.7 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3496, allocations: 168.6 kB / 396.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3496, allocations: 0.75 kB / 396.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-06/0.3496, allocations: 1.062 kB / 396.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3496, allocations: 1 kB / 396.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3496, allocations: 0.6094 kB / 396.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3496, allocations: 1.062 kB / 396.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3496, allocations: 9.922 kB / 396.9 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.3498, allocations: 154.1 kB / 397.1 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.3498, allocations: 88.59 kB / 397.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3498, allocations: 1.625 kB / 397.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.3499, allocations: 1.922 kB / 397.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.3499, allocations: 1.766 kB / 397.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3499, allocations: 1.188 kB / 397.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.35, allocations: 109.5 kB / 397.3 MB, free: 45.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.35, allocations: 1.219 kB / 397.3 MB, free: 45.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3503, allocations: 3.281 kB / 397.3 MB, free: 45.62 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.937e-05/0.3504, allocations: 95.92 kB / 397.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.3505, allocations: 21.52 kB / 397.4 MB, free: 45.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3505, allocations: 0 / 397.4 MB, free: 45.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.3505, allocations: 4.094 kB / 397.4 MB, free: 45.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3509, allocations: 26.86 kB / 397.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.3512, allocations: 144.4 kB / 397.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.3514, allocations: 0.6924 MB / 398.2 MB, free: 44.67 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.057e-05/0.3514, allocations: 1.062 kB / 398.2 MB, free: 44.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.3514, allocations: 14.16 kB / 398.2 MB, free: 44.66 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3515, allocations: 3.938 kB / 398.3 MB, free: 44.66 MB / 318.1 MB Notification: Performance of Templates: time 0.00309/0.3545, allocations: 432.5 kB / 398.7 MB, free: 44.5 MB / 318.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches