Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 119.4 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 188.3 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 247 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 178] 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 51.91 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 49.43 MB / 408.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00294/0.1078, allocations: 1.539 MB / 409.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004464/0.1083, allocations: 139.5 kB / 409.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.1084, allocations: 0 / 409.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.1085, allocations: 15.86 kB / 409.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1087, allocations: 7.938 kB / 409.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1089, allocations: 39.83 kB / 409.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.109, allocations: 35.86 kB / 409.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1092, allocations: 11.98 kB / 409.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.1092, allocations: 15.92 kB / 409.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.1093, allocations: 11.94 kB / 409.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1093, allocations: 4 kB / 409.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.1093, allocations: 8 kB / 409.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1094, allocations: 15.92 kB / 409.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.1094, allocations: 19.81 kB / 410 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1095, allocations: 47.75 kB / 410 MB, free: 5.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1096, allocations: 4 kB / 410 MB, free: 5.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1096, allocations: 0 / 410 MB, free: 5.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1096, allocations: 0 / 410 MB, free: 5.055 MB / 334.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.0004913/0.1101, allocations: 375.2 kB / 410.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1101, allocations: 8.031 kB / 410.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1102, allocations: 12.89 kB / 410.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1104, allocations: 194.7 kB / 410.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1104, allocations: 4.375 kB / 410.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1105, allocations: 8.359 kB / 410.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.1108, allocations: 113.6 kB / 410.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1108, allocations: 192 / 410.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1108, allocations: 3.938 kB / 410.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1108, allocations: 0 / 410.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.1109, allocations: 23.92 kB / 410.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1112, allocations: 257.8 kB / 411 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1115, allocations: 146.2 kB / 411.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.1116, allocations: 25.78 kB / 411.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1116, allocations: 3.984 kB / 411.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1116, allocations: 42.55 kB / 411.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1116, allocations: 0 / 411.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.1119, allocations: 81.55 kB / 411.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.112, allocations: 81.11 kB / 411.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1121, allocations: 134 kB / 411.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1121, allocations: 25.7 kB / 411.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.1122, allocations: 88.08 kB / 411.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1122, allocations: 8.109 kB / 411.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.1123, allocations: 25.67 kB / 411.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1124, allocations: 310.8 kB / 411.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.1125, allocations: 7.984 kB / 412 MB, free: 2.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.1125, allocations: 39.36 kB / 412 MB, free: 2.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1126, allocations: 43.38 kB / 412 MB, free: 2.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1126, allocations: 4 kB / 412 MB, free: 2.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/0.1128, allocations: 65.55 kB / 412.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1128, allocations: 4 kB / 412.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1128, allocations: 8.125 kB / 412.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1128, allocations: 4 kB / 412.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.1129, allocations: 15.98 kB / 412.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1129, allocations: 0 / 412.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.113, allocations: 4 kB / 412.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.113, allocations: 3.984 kB / 412.1 MB, free: 2.625 MB / 334.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 9.777e-05/0.1131, allocations: 125.7 kB / 412.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.1131, allocations: 49.58 kB / 412.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.1132, allocations: 12.25 kB / 412.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1132, allocations: 4 kB / 412.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1132, allocations: 7.984 kB / 412.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1132, allocations: 0 / 412.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1134, allocations: 165.6 kB / 412.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1134, allocations: 0 / 412.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.1135, allocations: 8 kB / 412.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1135, allocations: 0 / 412.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1135, allocations: 8 kB / 412.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1135, allocations: 0 / 412.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1135, allocations: 0 / 412.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1137, allocations: 172.2 kB / 412.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.1138, allocations: 93.05 kB / 412.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1138, allocations: 0 / 412.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.1139, allocations: 4 kB / 412.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.1139, allocations: 7.984 kB / 412.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1139, allocations: 0 / 412.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.114, allocations: 109.7 kB / 412.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.114, allocations: 0 / 412.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1142, allocations: 4 kB / 412.9 MB, free: 1.762 MB / 334.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.0001176/0.1144, allocations: 99.72 kB / 413 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1145, allocations: 31.91 kB / 413 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1145, allocations: 4 kB / 413 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.1146, allocations: 8.25 kB / 413 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1149, allocations: 41.95 kB / 413.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.1153, allocations: 172.1 kB / 413.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1156, allocations: 0.6922 MB / 413.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1156, allocations: 7.438 kB / 413.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1156, allocations: 0 / 413.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of Templates: time 0.002386/0.118, allocations: 0.6941 MB / 414.6 MB, free: 15.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.820323109044693]