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.001504/0.001504, allocations: 108 kB / 17.28 MB, free: 6.199 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.001266/0.001266, allocations: 193.3 kB / 18.21 MB, free: 5.273 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.407/1.407, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 50.98 kB / 300.8 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.115, allocations: 49.45 MB / 350.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003543/0.1185, allocations: 1.624 MB / 351.9 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.1195, allocations: 478.8 kB / 352.3 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1196, allocations: 0 / 352.3 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.637e-05/0.1197, allocations: 3.938 kB / 352.3 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1199, allocations: 11.92 kB / 352.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1202, allocations: 45.84 kB / 352.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.1203, allocations: 39.86 kB / 352.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1205, allocations: 23.97 kB / 352.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.1206, allocations: 19.88 kB / 352.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.1206, allocations: 19.86 kB / 352.5 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1207, allocations: 4 kB / 352.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.1207, allocations: 4 kB / 352.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.1207, allocations: 11.98 kB / 352.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.1208, allocations: 23.81 kB / 352.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1209, allocations: 39.92 kB / 352.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1209, allocations: 0 / 352.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.1209, allocations: 4 kB / 352.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1209, allocations: 3.938 kB / 352.6 MB, free: 2.383 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.0005516/0.1215, allocations: 378.4 kB / 352.9 MB, free: 1.969 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1215, allocations: 8.031 kB / 353 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1216, allocations: 8.844 kB / 353 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1218, allocations: 192.1 kB / 353.2 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1218, allocations: 4.375 kB / 353.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1218, allocations: 4.375 kB / 353.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.1222, allocations: 129.3 kB / 353.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1222, allocations: 0 / 353.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1222, allocations: 0 / 353.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1222, allocations: 0 / 353.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.713e-05/0.1223, allocations: 23.97 kB / 353.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1227, allocations: 273.6 kB / 353.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1229, allocations: 142.2 kB / 353.7 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.123, allocations: 29.78 kB / 353.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.123, allocations: 0 / 353.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1231, allocations: 38.55 kB / 353.8 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1231, allocations: 0 / 353.8 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.1233, allocations: 77.52 kB / 353.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1234, allocations: 81.11 kB / 353.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1235, allocations: 138 kB / 354.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1236, allocations: 29.69 kB / 354.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.1236, allocations: 92.08 kB / 354.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1236, allocations: 0 / 354.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1237, allocations: 21.62 kB / 354.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1238, allocations: 322.8 kB / 354.5 MB, free: 172 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.1239, allocations: 11.94 kB / 354.5 MB, free: 160 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.245e-05/0.1239, allocations: 39.42 kB / 354.6 MB, free: 108 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.5e-05/0.124, allocations: 43.36 kB / 354.6 MB, free: 52 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.124, allocations: 4 kB / 354.6 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001578/0.1242, allocations: 69.55 kB / 354.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1242, allocations: 8 kB / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1242, allocations: 0 / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1242, allocations: 0 / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.1243, allocations: 8 kB / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1243, allocations: 11.98 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.1244, allocations: 0 / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1244, allocations: 8 kB / 354.7 MB, free: 15.94 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.547e-05/0.1245, allocations: 121.9 kB / 354.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.1246, allocations: 53.53 kB / 354.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.1246, allocations: 8.25 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1246, allocations: 0 / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1246, allocations: 0 / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1246, allocations: 3.984 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.1248, allocations: 173.6 kB / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1248, allocations: 0 / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.1249, allocations: 11.94 kB / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1249, allocations: 4 kB / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1249, allocations: 7.984 kB / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1249, allocations: 0 / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1249, allocations: 4 kB / 355.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.1251, allocations: 172.5 kB / 355.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.1252, allocations: 93 kB / 355.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1252, allocations: 4 kB / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.1253, allocations: 48 / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1253, allocations: 7.984 kB / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1253, allocations: 0 / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.262e-05/0.1254, allocations: 110.2 kB / 355.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1254, allocations: 0 / 355.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1257, allocations: 8 kB / 355.5 MB, free: 15.06 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.0001222/0.1258, allocations: 99.19 kB / 355.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1259, allocations: 39.91 kB / 355.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.126, allocations: 7.938 kB / 355.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.126, allocations: 4 kB / 355.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1264, allocations: 27.89 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.1268, allocations: 221.3 kB / 355.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1271, allocations: 0.6885 MB / 356.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.1271, allocations: 11.44 kB / 356.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1271, allocations: 0 / 356.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Templates: time 0.002163/0.1293, allocations: 0.7449 MB / 357.3 MB, free: 13.15 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