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.001519/0.00152, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001584/0.001584, allocations: 192 kB / 18 MB, free: 4.977 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.504/1.504, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 47.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4402, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.004255/0.4446, allocations: 1.487 MB / 402.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006049/0.4452, allocations: 143.5 kB / 402.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.4453, allocations: 0 / 402.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.549e-05/0.4455, allocations: 3.938 kB / 402.3 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.4457, allocations: 11.92 kB / 402.4 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.4461, allocations: 39.84 kB / 402.4 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.4462, allocations: 27.92 kB / 402.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.4464, allocations: 8 kB / 402.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.4465, allocations: 11.92 kB / 402.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.4465, allocations: 11.94 kB / 402.5 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.4466, allocations: 4 kB / 402.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.4466, allocations: 0 / 402.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.4467, allocations: 15.92 kB / 402.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.4467, allocations: 19.86 kB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.4469, allocations: 47.77 kB / 402.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.4469, allocations: 4 kB / 402.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4469, allocations: 0 / 402.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.447, allocations: 0 / 402.5 MB, free: 7.055 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.0007391/0.4477, allocations: 352.4 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.4478, allocations: 8.031 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.4479, allocations: 12.84 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.4482, allocations: 188.2 kB / 403.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.4482, allocations: 4.375 kB / 403.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.4483, allocations: 8.375 kB / 403.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.4486, allocations: 89.61 kB / 403.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4486, allocations: 192 / 403.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.4486, allocations: 3.938 kB / 403.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4486, allocations: 0 / 403.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.4487, allocations: 23.92 kB / 403.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.4492, allocations: 253.7 kB / 403.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.87e-05/0.4493, allocations: 45.09 kB / 403.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.4493, allocations: 21.75 kB / 403.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.4494, allocations: 4 kB / 403.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.4494, allocations: 34.56 kB / 403.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.4494, allocations: 0 / 403.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000286/0.4497, allocations: 57.62 kB / 403.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.4498, allocations: 77.11 kB / 403.7 MB, free: 5.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.45, allocations: 130.1 kB / 403.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.45, allocations: 29.7 kB / 403.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.4501, allocations: 92.03 kB / 404 MB, free: 5.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.4501, allocations: 0 / 404 MB, free: 5.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.4502, allocations: 17.72 kB / 404 MB, free: 5.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4503, allocations: 310.8 kB / 404.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.4503, allocations: 8 kB / 404.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.4504, allocations: 25.64 kB / 404.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.4505, allocations: 25.66 kB / 404.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4505, allocations: 3.938 kB / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.34e-05/0.4506, allocations: 53.47 kB / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4506, allocations: 4 kB / 404.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4506, allocations: 4 kB / 404.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4506, allocations: 128 / 404.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.4507, allocations: 4 kB / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4507, allocations: 0 / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.4507, allocations: 7.984 kB / 404.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4507, allocations: 0 / 404.4 MB, free: 4.93 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 (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 0.000108/0.4508, allocations: 117.8 kB / 404.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.4509, allocations: 37.7 kB / 404.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.4509, allocations: 7.516 kB / 404.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.451, allocations: 3.938 kB / 404.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.451, allocations: 8.031 kB / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.451, allocations: 0 / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4512, allocations: 165.6 kB / 404.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4512, allocations: 0 / 404.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.4512, allocations: 3.984 kB / 404.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.4512, allocations: 0 / 404.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4512, allocations: 4 kB / 404.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4512, allocations: 0 / 404.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4512, allocations: 0 / 404.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.4514, allocations: 156.2 kB / 404.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.4515, allocations: 93 kB / 405 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4515, allocations: 0 / 405 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.4516, allocations: 4 kB / 405 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4516, allocations: 7.938 kB / 405 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.4516, allocations: 0 / 405 MB, free: 4.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.4517, allocations: 106.5 kB / 405.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4517, allocations: 8.031 kB / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.452, allocations: 0 / 405.1 MB, free: 4.117 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 (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 0.0001267/0.4521, allocations: 104 kB / 405.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.4522, allocations: 19.98 kB / 405.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4523, allocations: 0 / 405.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.4523, allocations: 7.938 kB / 405.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4527, allocations: 23.28 kB / 405.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.453, allocations: 138.7 kB / 405.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.4534, allocations: 0.6883 MB / 406.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.653e-05/0.4534, allocations: 11.92 kB / 406.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.4534, allocations: 7.438 kB / 406.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4534, allocations: 0 / 406.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Templates: time 0.002818/0.4562, allocations: 434.6 kB / 406.5 MB, free: 2.641 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/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