Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 100 kB / 17.59 MB, free: 5.578 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: 191.6 kB / 18.51 MB, free: 4.656 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.386/1.386, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 50.02 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.107, allocations: 49.44 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003341/0.1104, allocations: 1.561 MB / 352.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.1114, allocations: 492.2 kB / 352.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.1115, allocations: 0 / 352.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.1115, allocations: 11.88 kB / 352.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1117, allocations: 7.875 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.112, allocations: 35.89 kB / 352.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1122, allocations: 47.78 kB / 352.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1123, allocations: 19.98 kB / 352.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.172e-05/0.1124, allocations: 27.91 kB / 352.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.1124, allocations: 19.86 kB / 352.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1125, allocations: 4 kB / 352.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.1125, allocations: 4 kB / 352.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.1125, allocations: 8 kB / 353 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.1126, allocations: 27.8 kB / 353 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1127, allocations: 47.75 kB / 353 MB, free: 2.102 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1127, allocations: 0 / 353 MB, free: 2.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1127, allocations: 8 kB / 353 MB, free: 2.094 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1127, allocations: 0 / 353 MB, free: 2.094 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005607/0.1133, allocations: 379.4 kB / 353.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1134, allocations: 11.97 kB / 353.4 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1134, allocations: 8.844 kB / 353.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1137, allocations: 184.2 kB / 353.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1137, allocations: 4.375 kB / 353.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1138, allocations: 4.375 kB / 353.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.1142, allocations: 121.3 kB / 353.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1142, allocations: 0 / 353.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1142, allocations: 0 / 353.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1142, allocations: 0 / 353.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.1143, allocations: 27.92 kB / 353.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1147, allocations: 269.7 kB / 354 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1149, allocations: 142.2 kB / 354.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.115, allocations: 29.77 kB / 354.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.115, allocations: 7.984 kB / 354.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1151, allocations: 30.56 kB / 354.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.1151, allocations: 0 / 354.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003188/0.1154, allocations: 85.5 kB / 354.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1155, allocations: 81.11 kB / 354.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.1157, allocations: 144.4 kB / 354.5 MB, free: 364 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1158, allocations: 25.7 kB / 354.6 MB, free: 332 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.1158, allocations: 96 kB / 354.7 MB, free: 232 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1159, allocations: 7.938 kB / 354.7 MB, free: 224 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1159, allocations: 21.62 kB / 354.7 MB, free: 196 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1161, allocations: 322.8 kB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.1161, allocations: 8 kB / 355 MB, free: 15.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.417e-05/0.1162, allocations: 35.42 kB / 355 MB, free: 15.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.362e-05/0.1163, allocations: 47.36 kB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1163, allocations: 0 / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001419/0.1164, allocations: 69.61 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1164, allocations: 4 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1165, allocations: 0 / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1165, allocations: 4 kB / 355.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.1166, allocations: 12 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1166, allocations: 7.938 kB / 355.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1166, allocations: 7.984 kB / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1166, allocations: 0 / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.4e-05/0.1167, allocations: 121.9 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.1168, allocations: 53.86 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.1169, allocations: 12.25 kB / 355.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1169, allocations: 0 / 355.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1169, allocations: 4 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1169, allocations: 0 / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.1171, allocations: 173.6 kB / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1171, allocations: 0 / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.1171, allocations: 8 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1171, allocations: 7.938 kB / 355.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1172, allocations: 4 kB / 355.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1172, allocations: 0 / 355.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1172, allocations: 0 / 355.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1174, allocations: 168.2 kB / 355.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.1174, allocations: 93 kB / 355.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1175, allocations: 3.984 kB / 355.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.1176, allocations: 8 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1176, allocations: 0 / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.1176, allocations: 4 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.1177, allocations: 110.2 kB / 355.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1177, allocations: 0 / 355.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1179, allocations: 7.938 kB / 355.9 MB, free: 14.77 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 (4): * Single equations (assignments): 4 * 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.0001064/0.118, allocations: 107.7 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.1182, allocations: 31.98 kB / 356.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1182, allocations: 0 / 356.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.1182, allocations: 11.92 kB / 356.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.1187, allocations: 31.89 kB / 356.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.1191, allocations: 208.5 kB / 356.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1193, allocations: 0.6885 MB / 357 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.1194, allocations: 15.44 kB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1194, allocations: 0 / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of Templates: time 0.00218/0.1216, allocations: 0.7268 MB / 357.8 MB, free: 12.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches