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.00121/0.00121, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001235/0.001235, allocations: 192 kB / 18.62 MB, free: 4.434 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.305/1.305, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 47.06 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1058, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003138/0.1089, allocations: 1.545 MB / 353 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.1099, allocations: 472.3 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.11, allocations: 0 / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.554e-05/0.1101, allocations: 7.922 kB / 353.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1103, allocations: 11.88 kB / 353.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1106, allocations: 43.89 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1108, allocations: 39.8 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1109, allocations: 11.98 kB / 353.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.111, allocations: 19.92 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.1111, allocations: 15.92 kB / 353.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1111, allocations: 4 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.1111, allocations: 4 kB / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.1112, allocations: 15.92 kB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.1112, allocations: 23.81 kB / 353.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1113, allocations: 51.75 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1113, allocations: 0 / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1114, allocations: 0 / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1114, allocations: 0 / 353.7 MB, free: 1.422 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.0005203/0.1119, allocations: 363.2 kB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1119, allocations: 11.97 kB / 354.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.112, allocations: 12.83 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1123, allocations: 200.1 kB / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1123, allocations: 384 / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1123, allocations: 384 / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.1125, allocations: 97.36 kB / 354.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1126, allocations: 3.984 kB / 354.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1126, allocations: 0 / 354.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1126, allocations: 4 kB / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.1127, allocations: 23.92 kB / 354.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.113, allocations: 253.8 kB / 354.7 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.02e-05/0.1131, allocations: 53.08 kB / 354.7 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.1132, allocations: 21.78 kB / 354.8 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1132, allocations: 7.984 kB / 354.8 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1132, allocations: 34.55 kB / 354.8 MB, free: 172 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1132, allocations: 0 / 354.8 MB, free: 172 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002733/0.1135, allocations: 65.53 kB / 354.9 MB, free: 100 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.1136, allocations: 85.34 kB / 355 MB, free: 16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1137, allocations: 133.8 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1138, allocations: 25.7 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.1138, allocations: 88.14 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.1138, allocations: 7.906 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1139, allocations: 17.7 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.114, allocations: 318.8 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.1141, allocations: 11.98 kB / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.1141, allocations: 21.66 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.246e-05/0.1142, allocations: 25.7 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1142, allocations: 4 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001465/0.1144, allocations: 61.59 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1144, allocations: 4 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1144, allocations: 0 / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1144, allocations: 7.984 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.1145, allocations: 8 kB / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1145, allocations: 0 / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.1146, allocations: 0 / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1146, allocations: 4 kB / 355.7 MB, free: 15.22 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: 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 0.0001096/0.1147, allocations: 129.6 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.1148, allocations: 33.77 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.1148, allocations: 11.88 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1148, allocations: 7.922 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1148, allocations: 4 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1148, allocations: 0 / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.115, allocations: 173.5 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1151, allocations: 0 / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.1151, allocations: 4 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1151, allocations: 0 / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1151, allocations: 4 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1151, allocations: 7.969 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1152, allocations: 0 / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1153, allocations: 164.2 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1154, allocations: 89 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1154, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.1155, allocations: 4.031 kB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1155, allocations: 7.938 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1155, allocations: 3.984 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.1156, allocations: 109.6 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1156, allocations: 0 / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1159, allocations: 4 kB / 356.4 MB, free: 14.37 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 0.0001156/0.116, allocations: 103.8 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1161, allocations: 24.05 kB / 356.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1161, allocations: 0 / 356.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.1162, allocations: 11.92 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1165, allocations: 23.58 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.1168, allocations: 159.4 kB / 356.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1171, allocations: 0.6848 MB / 357.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.079e-05/0.1172, allocations: 8 kB / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.1172, allocations: 11.42 kB / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1172, allocations: 0 / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.002514/0.1197, allocations: 475.1 kB / 357.9 MB, free: 12.83 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/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