Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.0008997/0.0008997, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.001102/0.001102, allocations: 175.3 kB / 18.21 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002356, allocations: 11.94 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07295/0.0732, allocations: 50.42 MB / 352.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001444/0.07467, allocations: 1.198 MB / 353.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.07499, allocations: 132.3 kB / 353.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.07507, allocations: 7.938 kB / 353.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.0751, allocations: 0 / 353.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.07521, allocations: 7.922 kB / 353.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.07542, allocations: 35.91 kB / 353.9 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.564e-05/0.07549, allocations: 23.94 kB / 353.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.07558, allocations: 15.98 kB / 353.9 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.07561, allocations: 7.938 kB / 353.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.674e-05/0.07565, allocations: 11.92 kB / 353.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.07567, allocations: 0 / 353.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.07568, allocations: 0 / 353.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.07573, allocations: 19.92 kB / 354 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.07577, allocations: 41.58 kB / 354 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.963e-05/0.07584, allocations: 23.89 kB / 354 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.07585, allocations: 0 / 354 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07585, allocations: 0 / 354 MB, free: 2.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.07586, allocations: 0 / 354 MB, free: 2.168 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.0003413/0.07621, allocations: 355.6 kB / 354.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.07625, allocations: 8.031 kB / 354.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.07628, allocations: 8.844 kB / 354.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.07643, allocations: 191.3 kB / 354.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.07646, allocations: 384 / 354.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.07647, allocations: 4.375 kB / 354.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.07667, allocations: 97.59 kB / 354.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.07668, allocations: 192 / 354.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.0767, allocations: 3.938 kB / 354.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.07671, allocations: 0 / 354.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.07678, allocations: 23.92 kB / 354.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.07706, allocations: 257.7 kB / 354.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.07714, allocations: 41.16 kB / 355 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.07718, allocations: 25.7 kB / 355 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.07721, allocations: 0 / 355 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.07723, allocations: 34.56 kB / 355 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.07724, allocations: 0 / 355 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.07743, allocations: 57.62 kB / 355.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.07749, allocations: 81.11 kB / 355.2 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.07759, allocations: 125.8 kB / 355.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.07761, allocations: 29.95 kB / 355.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.07766, allocations: 92.12 kB / 355.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.07767, allocations: 3.906 kB / 355.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.0777, allocations: 9.719 kB / 355.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.07779, allocations: 318.8 kB / 355.7 MB, free: 192 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.07782, allocations: 4 kB / 355.8 MB, free: 188 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.07786, allocations: 21.64 kB / 355.8 MB, free: 160 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/0.07793, allocations: 29.72 kB / 355.8 MB, free: 124 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.07794, allocations: 0 / 355.8 MB, free: 124 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.488e-05/0.07804, allocations: 61.5 kB / 355.9 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.07806, allocations: 4 kB / 355.9 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.07807, allocations: 4 kB / 355.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.07808, allocations: 4.062 kB / 355.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.285e-05/0.0781, allocations: 0 / 355.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.07811, allocations: 0 / 355.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.07815, allocations: 7.984 kB / 355.9 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.07816, allocations: 0 / 355.9 MB, free: 36 kB / 286.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 (sample1.u,sample1.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 7.949e-05/0.07824, allocations: 117.8 kB / 356 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.07831, allocations: 37.61 kB / 356 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.07834, allocations: 11.52 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.07835, allocations: 4 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.07836, allocations: 4.031 kB / 356.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.07836, allocations: 0 / 356.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.07852, allocations: 161.6 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.07852, allocations: 3.938 kB / 356.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-06/0.07854, allocations: 3.984 kB / 356.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.07854, allocations: 4 kB / 356.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.07855, allocations: 4 kB / 356.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.07856, allocations: 0 / 356.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.07857, allocations: 3.984 kB / 356.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.0787, allocations: 160.2 kB / 356.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.07876, allocations: 85.09 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.07878, allocations: 4 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.07884, allocations: 0 / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.07887, allocations: 4 kB / 356.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.07888, allocations: 4 kB / 356.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.07895, allocations: 111.2 kB / 356.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07896, allocations: 0 / 356.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.07919, allocations: 4 kB / 356.6 MB, free: 15.21 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 (sample1.u,sample1.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 7.799e-05/0.07927, allocations: 103.2 kB / 356.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.07937, allocations: 12 kB / 356.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.07938, allocations: 0 / 356.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.07942, allocations: 16.05 kB / 356.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.07973, allocations: 23.89 kB / 356.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.08001, allocations: 190.4 kB / 356.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.08022, allocations: 0.6809 MB / 357.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.08025, allocations: 15.59 kB / 357.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08026, allocations: 0 / 357.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Templates: time 0.00167/0.08193, allocations: 0.6056 MB / 358.2 MB, free: 13.51 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches