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.000731/0.0007309, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008786/0.0008787, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.412/1.412, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003048, allocations: 8.469 kB / 301.4 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 50.41 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001968/0.1167, allocations: 1.265 MB / 353.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007659/0.1175, allocations: 470.8 kB / 353.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.1176, allocations: 0 / 353.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.1176, allocations: 0 / 353.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1178, allocations: 11.92 kB / 353.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1181, allocations: 35.89 kB / 353.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1182, allocations: 43.8 kB / 353.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1183, allocations: 8 kB / 353.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.1184, allocations: 19.92 kB / 353.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.1184, allocations: 11.92 kB / 353.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1185, allocations: 4 kB / 353.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.1185, allocations: 0 / 353.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.1185, allocations: 15.92 kB / 353.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.1186, allocations: 45.52 kB / 353.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.1187, allocations: 47.8 kB / 353.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1187, allocations: 0 / 353.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1187, allocations: 4 kB / 353.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1187, allocations: 0 / 353.8 MB, free: 1.473 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.0004867/0.1192, allocations: 359.5 kB / 354.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1193, allocations: 12.03 kB / 354.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.1193, allocations: 8.844 kB / 354.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.1195, allocations: 188.2 kB / 354.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1196, allocations: 384 / 354.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1196, allocations: 384 / 354.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1198, allocations: 105.3 kB / 354.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1199, allocations: 0 / 354.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.1199, allocations: 4 kB / 354.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1199, allocations: 0 / 354.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.12, allocations: 19.98 kB / 354.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1203, allocations: 265.6 kB / 354.7 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.1204, allocations: 45.2 kB / 354.8 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.1205, allocations: 21.78 kB / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1205, allocations: 3.984 kB / 354.8 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1206, allocations: 42.5 kB / 354.9 MB, free: 236 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1206, allocations: 0 / 354.9 MB, free: 236 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002708/0.1208, allocations: 77.69 kB / 354.9 MB, free: 152 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.1209, allocations: 77.11 kB / 355 MB, free: 56 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.121, allocations: 140.4 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1211, allocations: 25.7 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.1211, allocations: 92.05 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.1212, allocations: 0 / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.1212, allocations: 17.7 kB / 355.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1213, allocations: 318.9 kB / 355.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.1213, allocations: 11.94 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.1214, allocations: 25.7 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.1215, allocations: 41.7 kB / 355.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1215, allocations: 0 / 355.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.1216, allocations: 53.69 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1216, allocations: 4 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1217, allocations: 0 / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1217, allocations: 0 / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.1217, allocations: 15.92 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1218, allocations: 4.062 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.1218, allocations: 7.906 kB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1218, allocations: 0 / 355.8 MB, free: 15.26 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 9.001e-05/0.1219, allocations: 125.7 kB / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.122, allocations: 33.7 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.122, allocations: 11.88 kB / 355.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.122, allocations: 0 / 355.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.122, allocations: 3.984 kB / 355.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.122, allocations: 4.031 kB / 355.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1222, allocations: 169.6 kB / 356.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1222, allocations: 4 kB / 356.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.1223, allocations: 4 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1223, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1223, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.1223, allocations: 7.938 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1223, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1225, allocations: 168.2 kB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1225, allocations: 93 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1225, allocations: 4 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.1226, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1226, allocations: 4 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1227, allocations: 3.969 kB / 356.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.632e-05/0.1227, allocations: 111.2 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.123, allocations: 4 kB / 356.5 MB, free: 14.42 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.0001073/0.1231, allocations: 99.19 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1232, allocations: 31.92 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1232, allocations: 4.125 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.1233, allocations: 7.984 kB / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1236, allocations: 19.92 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.124, allocations: 185.6 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1242, allocations: 0.6964 MB / 357.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.348e-05/0.1242, allocations: 0 / 357.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.1243, allocations: 15.42 kB / 357.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1243, allocations: 0 / 357.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Templates: time 0.002405/0.1267, allocations: 425.7 kB / 358 MB, free: 12.89 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