Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009755/0.0009755, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002477, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002459, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9776/0.9776, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08634/1.064, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.568e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001935/0.00195, allocations: 1.788 MB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002592/0.00221, allocations: 179.2 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.00228, allocations: 4 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.002315, allocations: 11.86 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.00238, allocations: 11.92 kB / 247 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.002532, allocations: 43.77 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.002623, allocations: 55.84 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.192e-05/0.002705, allocations: 23.98 kB / 247.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.002768, allocations: 35.91 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.002815, allocations: 19.91 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.002837, allocations: 4 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.002848, allocations: 8 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.002884, allocations: 15.94 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.002905, allocations: 15.94 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.003001, allocations: 47.77 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.003011, allocations: 0 / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003012, allocations: 0 / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.003024, allocations: 0 / 247.3 MB, free: 11.37 MB / 250.7 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.0003439/0.003367, allocations: 308.1 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.003395, allocations: 8.625 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.00342, allocations: 8.938 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.003551, allocations: 141.6 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.003558, allocations: 4.375 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.003567, allocations: 8.375 kB / 247.7 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.003754, allocations: 158.3 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003761, allocations: 8.125 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.003768, allocations: 384 / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.003772, allocations: 4.375 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.0038, allocations: 19.92 kB / 247.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.003995, allocations: 241.3 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.004124, allocations: 87.64 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.004157, allocations: 42.83 kB / 248.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.004175, allocations: 4 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.0042, allocations: 34.5 kB / 248.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.004201, allocations: 0 / 248.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001277/0.004329, allocations: 85.48 kB / 248.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.004376, allocations: 106.8 kB / 248.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.004449, allocations: 134.7 kB / 248.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.004459, allocations: 25.7 kB / 248.7 MB, free: 9.777 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.004491, allocations: 100.1 kB / 248.8 MB, free: 9.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.004507, allocations: 7.891 kB / 248.8 MB, free: 9.668 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.00453, allocations: 17.72 kB / 248.8 MB, free: 9.645 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.004601, allocations: 322.8 kB / 249.1 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-06/0.004607, allocations: 0 / 249.1 MB, free: 9.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.004619, allocations: 17.97 kB / 249.1 MB, free: 9.297 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.004639, allocations: 17.66 kB / 249.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004642, allocations: 0 / 249.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.218e-05/0.004684, allocations: 45.62 kB / 249.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004694, allocations: 6.969 kB / 249.2 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.0047, allocations: 4 kB / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.004709, allocations: 3.938 kB / 249.2 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.529e-05/0.004744, allocations: 4 kB / 249.2 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.004746, allocations: 4.125 kB / 249.2 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.00476, allocations: 3.984 kB / 249.2 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.004764, allocations: 4 kB / 249.2 MB, free: 9.195 MB / 250.7 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 5.216e-05/0.004816, allocations: 112.7 kB / 249.3 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.004867, allocations: 53.62 kB / 249.4 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.004895, allocations: 16.77 kB / 249.4 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.004898, allocations: 3.938 kB / 249.4 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.0049, allocations: 4 kB / 249.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.004903, allocations: 0 / 249.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.005014, allocations: 77.88 kB / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.005016, allocations: 8 kB / 249.5 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.005055, allocations: 19.98 kB / 249.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.005084, allocations: 23.88 kB / 249.5 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.005085, allocations: 0 / 249.5 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.00509, allocations: 4 kB / 249.5 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.005092, allocations: 4 kB / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.005094, allocations: 7.875 kB / 249.6 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.393e-05/0.005178, allocations: 219.6 kB / 249.8 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.005188, allocations: 3.984 kB / 249.8 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.005237, allocations: 8 kB / 249.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.005256, allocations: 7.969 kB / 249.8 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.00526, allocations: 4 kB / 249.8 MB, free: 8.574 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.884e-05/0.005279, allocations: 20.84 kB / 249.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005279, allocations: 0 / 249.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.005414, allocations: 8 kB / 249.8 MB, free: 8.543 MB / 250.7 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 6.017e-05/0.005474, allocations: 84.34 kB / 249.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.005531, allocations: 24.78 kB / 249.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.005536, allocations: 4 kB / 249.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.005546, allocations: 16.92 kB / 249.9 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.005772, allocations: 37.53 kB / 250 MB, free: 8.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.006146, allocations: 203.3 kB / 250.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.006186, allocations: 71.28 kB / 250.3 MB, free: 8.039 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.499e-05/0.006201, allocations: 0 / 250.3 MB, free: 8.039 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.006245, allocations: 59.36 kB / 250.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.006246, allocations: 0 / 250.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of Templates: time 0.002128/0.008374, allocations: 0.72 MB / 251 MB, free: 7.273 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4274607058614492]