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.0006987/0.0006987, allocations: 97.02 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007379/0.0007379, allocations: 186.2 kB / 16.96 MB, free: 6.914 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.201/1.201, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06404/0.06404, allocations: 12.6 MB / 284 MB, free: 8.594 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.0006776/0.0006777, allocations: 24.84 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.08059, allocations: 50.38 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001415/0.08204, allocations: 1.204 MB / 396.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000304/0.08236, allocations: 127.6 kB / 396.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.209e-05/0.08245, allocations: 4 kB / 396.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.08248, allocations: 3.938 kB / 396.9 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.08258, allocations: 11.98 kB / 396.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.08278, allocations: 35.91 kB / 396.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.08285, allocations: 15.94 kB / 397 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.617e-05/0.08294, allocations: 15.98 kB / 397 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.08297, allocations: 3.938 kB / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.813e-05/0.083, allocations: 15.92 kB / 397 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.08302, allocations: 7.938 kB / 397 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.08303, allocations: 0 / 397 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.08308, allocations: 7.984 kB / 397 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.08313, allocations: 53.45 kB / 397.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.965e-05/0.08321, allocations: 27.89 kB / 397.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.08322, allocations: 0 / 397.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08323, allocations: 0 / 397.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.08324, allocations: 0 / 397.1 MB, free: 0.8711 MB / 286.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.0003304/0.08357, allocations: 351.6 kB / 397.4 MB, free: 488 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.08361, allocations: 8.031 kB / 397.4 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.08365, allocations: 8.844 kB / 397.4 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.0838, allocations: 196 kB / 397.6 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.08383, allocations: 8.375 kB / 397.6 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.08385, allocations: 384 / 397.6 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.08403, allocations: 85.67 kB / 397.7 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.08405, allocations: 4.125 kB / 397.7 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.08406, allocations: 3.938 kB / 397.7 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.08407, allocations: 4 kB / 397.7 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.08413, allocations: 12 kB / 397.8 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.08442, allocations: 257.8 kB / 398 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.08449, allocations: 45.16 kB / 398 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.08454, allocations: 25.7 kB / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.08456, allocations: 0 / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.08458, allocations: 30.56 kB / 398.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.08459, allocations: 0 / 398.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000188/0.08478, allocations: 57.84 kB / 398.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.08484, allocations: 81.14 kB / 398.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.08496, allocations: 141.7 kB / 398.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.08498, allocations: 25.7 kB / 398.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.08502, allocations: 84.14 kB / 398.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-06/0.08504, allocations: 0 / 398.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.08506, allocations: 17.7 kB / 398.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.08515, allocations: 314.8 kB / 398.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.08518, allocations: 8 kB / 398.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.08521, allocations: 17.7 kB / 398.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.08527, allocations: 21.72 kB / 398.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.08528, allocations: 3.938 kB / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.663e-05/0.08537, allocations: 57.62 kB / 398.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.08539, allocations: 5.25 kB / 398.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.0854, allocations: 4 kB / 398.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.08541, allocations: 0 / 398.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.217e-05/0.08543, allocations: 4 kB / 398.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.08544, allocations: 0 / 398.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.08547, allocations: 4 kB / 398.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.08548, allocations: 0 / 398.9 MB, free: 14.75 MB / 302.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 6.422e-05/0.08555, allocations: 129.7 kB / 399.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.08561, allocations: 45.55 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.08564, allocations: 7.516 kB / 399.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.08565, allocations: 4 kB / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.08566, allocations: 7.984 kB / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.08566, allocations: 0 / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.0858, allocations: 165.6 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.08581, allocations: 0 / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.08582, allocations: 0 / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.08583, allocations: 4 kB / 399.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.08584, allocations: 8.016 kB / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.08584, allocations: 0 / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.08585, allocations: 0 / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.08597, allocations: 156.2 kB / 399.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.08603, allocations: 93 kB / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.08604, allocations: 4 kB / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.0861, allocations: 4.031 kB / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.08613, allocations: 0 / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.08614, allocations: 4 kB / 399.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.08619, allocations: 99.27 kB / 399.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0862, allocations: 0 / 399.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.0864, allocations: 4 kB / 399.7 MB, free: 13.93 MB / 302.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 6.963e-05/0.08648, allocations: 95.23 kB / 399.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.405e-05/0.08657, allocations: 23.94 kB / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.08658, allocations: 0 / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.08662, allocations: 7.984 kB / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.08692, allocations: 23.92 kB / 399.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.08717, allocations: 153.8 kB / 399.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.08738, allocations: 0.6887 MB / 400.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.675e-05/0.0874, allocations: 4 kB / 400.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.08742, allocations: 7.438 kB / 400.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.08743, allocations: 0 / 400.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Templates: time 0.001872/0.08931, allocations: 389.1 kB / 401 MB, free: 12.48 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches