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.0009336/0.0009339, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001208/0.001209, allocations: 180.5 kB / 17.19 MB, free: 5.906 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.411/1.411, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 5.953 kB / 300.7 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 50.44 MB / 351.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001871/0.1081, allocations: 1.247 MB / 352.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.1092, allocations: 435.3 kB / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1093, allocations: 0 / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.448e-05/0.1094, allocations: 3.938 kB / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1095, allocations: 19.97 kB / 352.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1098, allocations: 35.84 kB / 352.9 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1099, allocations: 23.97 kB / 352.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1101, allocations: 4.281 kB / 352.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.1101, allocations: 23.91 kB / 352.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.1102, allocations: 11.88 kB / 352.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1102, allocations: 0 / 352.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.1103, allocations: 4 kB / 353 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.1103, allocations: 11.98 kB / 353 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.1104, allocations: 33.64 kB / 353 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.1105, allocations: 43.81 kB / 353 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1105, allocations: 0 / 353 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1105, allocations: 0 / 353 MB, free: 9.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1105, allocations: 0 / 353 MB, free: 9.836 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.0005328/0.111, allocations: 351.2 kB / 353.4 MB, free: 9.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1111, allocations: 8.031 kB / 353.4 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.1111, allocations: 15.8 kB / 353.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1114, allocations: 190.9 kB / 353.6 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1114, allocations: 7.938 kB / 353.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1114, allocations: 0 / 353.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.1117, allocations: 89.11 kB / 353.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1117, allocations: 0 / 353.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1117, allocations: 0 / 353.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1117, allocations: 7.938 kB / 353.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.1118, allocations: 27.94 kB / 353.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1122, allocations: 257.7 kB / 354 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.658e-05/0.1123, allocations: 49.16 kB / 354 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1123, allocations: 3.984 kB / 354 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1123, allocations: 30.56 kB / 354.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1123, allocations: 0 / 354.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002927/0.1126, allocations: 81.72 kB / 354.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.1127, allocations: 81.11 kB / 354.2 MB, free: 8.449 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1128, allocations: 136.3 kB / 354.3 MB, free: 8.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1128, allocations: 29.7 kB / 354.4 MB, free: 8.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.1129, allocations: 88.08 kB / 354.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.1129, allocations: 0 / 354.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1129, allocations: 3.938 kB / 354.5 MB, free: 8.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.113, allocations: 327 kB / 354.8 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.1131, allocations: 4 kB / 354.8 MB, free: 7.848 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.1131, allocations: 25.7 kB / 354.8 MB, free: 7.816 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.1132, allocations: 8 kB / 354.8 MB, free: 7.809 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1132, allocations: 4.062 kB / 354.8 MB, free: 7.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.1133, allocations: 65.52 kB / 354.9 MB, free: 7.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1133, allocations: 8 kB / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1133, allocations: 0 / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1134, allocations: 0 / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.1134, allocations: 7.953 kB / 354.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1135, allocations: 0 / 354.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.1135, allocations: 12.05 kB / 354.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1135, allocations: 4 kB / 354.9 MB, free: 7.703 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.74e-05/0.1136, allocations: 113.8 kB / 355 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.1137, allocations: 33.69 kB / 355.1 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.1137, allocations: 11.88 kB / 355.1 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1137, allocations: 0 / 355.1 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.1138, allocations: 7.953 kB / 355.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1138, allocations: 3.984 kB / 355.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1139, allocations: 177.6 kB / 355.3 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1139, allocations: 3.938 kB / 355.3 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.114, allocations: 7.938 kB / 355.3 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.114, allocations: 7.984 kB / 355.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.114, allocations: 0 / 355.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.114, allocations: 0 / 355.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.114, allocations: 0 / 355.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1142, allocations: 178.1 kB / 355.5 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1143, allocations: 89 kB / 355.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1143, allocations: 0 / 355.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1144, allocations: 7.984 kB / 355.6 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1144, allocations: 3.953 kB / 355.6 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1144, allocations: 4 kB / 355.6 MB, free: 6.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.1145, allocations: 115.2 kB / 355.7 MB, free: 6.84 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1145, allocations: 3.938 kB / 355.7 MB, free: 6.836 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1147, allocations: 4 kB / 355.7 MB, free: 6.832 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001129/0.1148, allocations: 99.25 kB / 355.8 MB, free: 6.727 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.115, allocations: 19.98 kB / 355.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.115, allocations: 128 / 355.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.115, allocations: 16 kB / 355.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1153, allocations: 15.95 kB / 355.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.1156, allocations: 173.8 kB / 356 MB, free: 6.473 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1159, allocations: 0.6887 MB / 356.7 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.1159, allocations: 8.234 kB / 356.7 MB, free: 5.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.116, allocations: 7.438 kB / 356.7 MB, free: 5.742 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.116, allocations: 0 / 356.7 MB, free: 5.742 MB / 286.1 MB Notification: Performance of Templates: time 0.002627/0.1186, allocations: 408.9 kB / 357.1 MB, free: 5.348 MB / 286.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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches