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.001259/0.001259, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001206/0.001206, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.411/1.411, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 45.84 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 49.44 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004347/0.115, allocations: 1.677 MB / 352.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.1157, allocations: 175.3 kB / 352.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1159, allocations: 4 kB / 352.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.247e-05/0.1161, allocations: 7.875 kB / 352.6 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1163, allocations: 11.86 kB / 352.6 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1167, allocations: 46.22 kB / 352.6 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1169, allocations: 55.89 kB / 352.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.1171, allocations: 31.98 kB / 352.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.1172, allocations: 23.86 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.1173, allocations: 23.86 kB / 352.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.1173, allocations: 4 kB / 352.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.377e-05/0.1173, allocations: 8 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.1174, allocations: 19.91 kB / 352.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.1175, allocations: 35.75 kB / 352.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1177, allocations: 63.72 kB / 352.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1177, allocations: 0 / 352.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1177, allocations: 4 kB / 352.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1177, allocations: 0 / 352.9 MB, free: 2.219 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.0006589/0.1184, allocations: 391.3 kB / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1185, allocations: 12.03 kB / 353.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.1185, allocations: 8.844 kB / 353.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1188, allocations: 192.1 kB / 353.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1188, allocations: 8.375 kB / 353.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1189, allocations: 4.375 kB / 353.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.1193, allocations: 170.2 kB / 353.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1194, allocations: 8.172 kB / 353.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1194, allocations: 3.938 kB / 353.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.1194, allocations: 0 / 353.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1195, allocations: 43.91 kB / 353.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.1201, allocations: 365.8 kB / 354.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.1204, allocations: 119.8 kB / 354.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1205, allocations: 58.67 kB / 354.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1205, allocations: 4 kB / 354.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1206, allocations: 42.5 kB / 354.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/0.1206, allocations: 0 / 354.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003661/0.121, allocations: 125.4 kB / 354.4 MB, free: 488 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.121, allocations: 106.8 kB / 354.5 MB, free: 356 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1212, allocations: 133.8 kB / 354.7 MB, free: 212 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1212, allocations: 33.64 kB / 354.7 MB, free: 172 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1213, allocations: 92.38 kB / 354.8 MB, free: 76 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1213, allocations: 11.91 kB / 354.8 MB, free: 64 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1213, allocations: 21.72 kB / 354.8 MB, free: 36 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1215, allocations: 322.8 kB / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.1215, allocations: 15.98 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.1216, allocations: 71.72 kB / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1218, allocations: 95.53 kB / 355.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1218, allocations: 0 / 355.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002146/0.122, allocations: 109.6 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.122, allocations: 12.03 kB / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1221, allocations: 0 / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1221, allocations: 4 kB / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.1222, allocations: 23.94 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1222, allocations: 7.984 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.1222, allocations: 4 kB / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1223, allocations: 4 kB / 355.5 MB, free: 15.31 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 0.0001112/0.1224, allocations: 133.7 kB / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.1225, allocations: 73.73 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.1226, allocations: 20.7 kB / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1226, allocations: 4 kB / 355.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1226, allocations: 0 / 355.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1226, allocations: 0 / 355.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1229, allocations: 185.5 kB / 355.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1229, allocations: 4 kB / 355.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.123, allocations: 15.98 kB / 355.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.123, allocations: 7.938 kB / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.123, allocations: 0 / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.123, allocations: 3.938 kB / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.123, allocations: 8 kB / 355.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.1235, allocations: 308.3 kB / 356.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.1236, allocations: 97 kB / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1236, allocations: 7.938 kB / 356.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1237, allocations: 8.281 kB / 356.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1237, allocations: 0 / 356.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1238, allocations: 4 kB / 356.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.049e-05/0.1239, allocations: 117.8 kB / 356.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1239, allocations: 0 / 356.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1242, allocations: 12 kB / 356.5 MB, free: 14.21 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 0.0001259/0.1243, allocations: 103.7 kB / 356.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1245, allocations: 71.84 kB / 356.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1245, allocations: 4 kB / 356.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.1246, allocations: 7.984 kB / 356.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.1251, allocations: 47.95 kB / 356.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1256, allocations: 234.6 kB / 356.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1259, allocations: 0.6924 MB / 357.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.1259, allocations: 19.42 kB / 357.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1259, allocations: 4 kB / 357.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Templates: time 0.002938/0.1289, allocations: 0.9151 MB / 358.6 MB, free: 12.05 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/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