Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001514, allocations: 104.7 kB / 16.51 MB, free: 6.707 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.001596/0.001596, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.001031, allocations: 46.7 kB / 300 MB, free: 6.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09963, allocations: 49.46 MB / 349.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002859/0.1025, allocations: 1.727 MB / 351.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.1029, allocations: 167.4 kB / 351.3 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.103, allocations: 7.938 kB / 351.3 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.38e-05/0.1031, allocations: 3.984 kB / 351.3 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1033, allocations: 7.938 kB / 351.3 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1035, allocations: 39.91 kB / 351.4 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.1036, allocations: 51.84 kB / 351.4 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1037, allocations: 31.92 kB / 351.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.1037, allocations: 15.94 kB / 351.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.1038, allocations: 31.78 kB / 351.5 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1038, allocations: 4 kB / 351.5 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.1038, allocations: 4 kB / 351.5 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.1039, allocations: 15.92 kB / 351.5 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1039, allocations: 35.73 kB / 351.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.962e-05/0.1041, allocations: 67.72 kB / 351.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1041, allocations: 0 / 351.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1041, allocations: 0 / 351.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1041, allocations: 4 kB / 351.6 MB, free: 2.594 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004587/0.1045, allocations: 383.4 kB / 352 MB, free: 2.168 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1046, allocations: 12.03 kB / 352 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.1046, allocations: 12.83 kB / 352 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1048, allocations: 192.1 kB / 352.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.1048, allocations: 4.312 kB / 352.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1048, allocations: 8.375 kB / 352.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1052, allocations: 178.2 kB / 352.4 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1052, allocations: 192 / 352.4 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1052, allocations: 3.938 kB / 352.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1052, allocations: 0 / 352.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1053, allocations: 39.91 kB / 352.4 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1057, allocations: 369.8 kB / 352.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1059, allocations: 123.8 kB / 352.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.106, allocations: 50.62 kB / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1061, allocations: 7.984 kB / 353 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1061, allocations: 34.56 kB / 353 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1061, allocations: 4 kB / 353 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003131/0.1064, allocations: 129.5 kB / 353.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.1065, allocations: 106.8 kB / 353.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1066, allocations: 137 kB / 353.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1066, allocations: 29.7 kB / 353.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1066, allocations: 88.14 kB / 353.5 MB, free: 472 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1067, allocations: 12.14 kB / 353.5 MB, free: 460 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1067, allocations: 29.72 kB / 353.5 MB, free: 424 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.1068, allocations: 322.8 kB / 353.8 MB, free: 92 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.1069, allocations: 11.98 kB / 353.9 MB, free: 80 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.107, allocations: 79.59 kB / 353.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1071, allocations: 95.53 kB / 354 MB, free: 15.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1071, allocations: 0 / 354 MB, free: 15.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001669/0.1073, allocations: 109.4 kB / 354.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1073, allocations: 8.281 kB / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1073, allocations: 4 kB / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1073, allocations: 0 / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.1074, allocations: 23.98 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1074, allocations: 7.938 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1075, allocations: 11.92 kB / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1075, allocations: 4 kB / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 7.726e-05/0.1075, allocations: 129.7 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.1077, allocations: 73.59 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.1077, allocations: 12.72 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1077, allocations: 4 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1077, allocations: 3.938 kB / 354.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1077, allocations: 3.984 kB / 354.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.108, allocations: 189.5 kB / 354.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.108, allocations: 0 / 354.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.108, allocations: 19.98 kB / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1081, allocations: 0 / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1081, allocations: 0 / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1081, allocations: 4 kB / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1081, allocations: 4 kB / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1084, allocations: 312.2 kB / 354.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.1085, allocations: 93 kB / 355 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1085, allocations: 11.92 kB / 355 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.1086, allocations: 8 kB / 355 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.1086, allocations: 4 kB / 355 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1086, allocations: 4 kB / 355 MB, free: 14.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.295e-05/0.1087, allocations: 107.2 kB / 355.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1087, allocations: 0 / 355.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.109, allocations: 8 kB / 355.2 MB, free: 14.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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 9.505e-05/0.1091, allocations: 111.1 kB / 355.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1093, allocations: 64.52 kB / 355.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1093, allocations: 3.938 kB / 355.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.1093, allocations: 11.94 kB / 355.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1098, allocations: 47.98 kB / 355.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.1102, allocations: 251.7 kB / 355.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.1104, allocations: 0.7043 MB / 356.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.1104, allocations: 8.672 kB / 356.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.1105, allocations: 11.44 kB / 356.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1105, allocations: 0 / 356.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Templates: time 0.002638/0.1131, allocations: 0.6237 MB / 357 MB, free: 12.71 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches