Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001562/0.001562, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 47.59 kB / 300 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1169, allocations: 49.45 MB / 349.4 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002718/0.1197, allocations: 1.6 MB / 351 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.1204, allocations: 474.8 kB / 351.5 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.1205, allocations: 7.938 kB / 351.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/0.1206, allocations: 0 / 351.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1207, allocations: 3.938 kB / 351.5 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1209, allocations: 35.91 kB / 351.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.121, allocations: 43.86 kB / 351.6 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.1211, allocations: 7.984 kB / 351.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.1212, allocations: 27.84 kB / 351.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.1213, allocations: 11.94 kB / 351.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1213, allocations: 4 kB / 351.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.1213, allocations: 0 / 351.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.1214, allocations: 11.92 kB / 351.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1214, allocations: 23.81 kB / 351.6 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.746e-05/0.1215, allocations: 43.81 kB / 351.7 MB, free: 2.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1215, allocations: 4 kB / 351.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1215, allocations: 0 / 351.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1215, allocations: 0 / 351.7 MB, free: 2.293 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.0004312/0.122, allocations: 367.5 kB / 352 MB, free: 1.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.122, allocations: 8.031 kB / 352.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.122, allocations: 8.844 kB / 352.1 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1222, allocations: 196.1 kB / 352.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1222, allocations: 384 / 352.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1223, allocations: 384 / 352.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1225, allocations: 101.4 kB / 352.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1225, allocations: 3.938 kB / 352.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1225, allocations: 0 / 352.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1225, allocations: 3.938 kB / 352.4 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.1226, allocations: 19.98 kB / 352.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.1229, allocations: 257.8 kB / 352.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.123, allocations: 45.14 kB / 352.7 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1231, allocations: 25.72 kB / 352.7 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1231, allocations: 4 kB / 352.7 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1231, allocations: 34.55 kB / 352.7 MB, free: 1.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.1231, allocations: 0 / 352.7 MB, free: 1.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.1234, allocations: 65.53 kB / 352.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1234, allocations: 89.03 kB / 352.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1235, allocations: 141.2 kB / 353 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1236, allocations: 25.7 kB / 353.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1236, allocations: 88.14 kB / 353.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1236, allocations: 3.906 kB / 353.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1237, allocations: 17.7 kB / 353.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1238, allocations: 318.8 kB / 353.5 MB, free: 268 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.1238, allocations: 7.984 kB / 353.5 MB, free: 260 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.1239, allocations: 25.72 kB / 353.5 MB, free: 228 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.124, allocations: 21.7 kB / 353.5 MB, free: 200 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.124, allocations: 0 / 353.5 MB, free: 200 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.1241, allocations: 61.53 kB / 353.6 MB, free: 132 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1241, allocations: 4 kB / 353.6 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1241, allocations: 8.109 kB / 353.6 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1241, allocations: 0 / 353.6 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.1242, allocations: 4 kB / 353.6 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1242, allocations: 4 kB / 353.6 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.1243, allocations: 0 / 353.6 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1243, allocations: 4 kB / 353.6 MB, free: 108 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: 0 () * 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 9.086e-05/0.1244, allocations: 129.6 kB / 353.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.1244, allocations: 33.7 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1245, allocations: 11.89 kB / 353.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1245, allocations: 4 kB / 353.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1245, allocations: 0 / 353.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1245, allocations: 7.984 kB / 353.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1247, allocations: 177.6 kB / 354 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1247, allocations: 0 / 354 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.1247, allocations: 7.938 kB / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1247, allocations: 0 / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1247, allocations: 4 kB / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1247, allocations: 0 / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1247, allocations: 0 / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.1249, allocations: 172.2 kB / 354.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.125, allocations: 89 kB / 354.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.125, allocations: 0 / 354.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.1251, allocations: 4 kB / 354.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.1251, allocations: 4 kB / 354.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1251, allocations: 7.953 kB / 354.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.1252, allocations: 107.3 kB / 354.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1252, allocations: 0 / 354.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1254, allocations: 4 kB / 354.4 MB, free: 15.25 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: 0 () * 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 9.964e-05/0.1255, allocations: 99.19 kB / 354.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1256, allocations: 27.92 kB / 354.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1256, allocations: 0 / 354.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.1257, allocations: 12.11 kB / 354.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.126, allocations: 25.66 kB / 354.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.1264, allocations: 169.2 kB / 354.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1266, allocations: 0.7043 MB / 355.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.761e-05/0.1266, allocations: 0 / 355.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1267, allocations: 11.42 kB / 355.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1267, allocations: 4 kB / 355.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Templates: time 0.002394/0.1291, allocations: 429.8 kB / 355.8 MB, free: 13.72 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches