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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00256/0.00256, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00277/0.00277, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 18.57 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.573/1.573, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.827e-05/4.05e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003717/0.003757, allocations: 1.699 MB / 269 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005738/0.004331, allocations: 167.3 kB / 269.2 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.004436, allocations: 0 / 269.2 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.672e-05/0.004523, allocations: 15.86 kB / 269.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.004687, allocations: 7.922 kB / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.004968, allocations: 51.77 kB / 269.3 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.005128, allocations: 55.8 kB / 269.3 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.005265, allocations: 23.98 kB / 269.3 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.00535, allocations: 31.89 kB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.005411, allocations: 15.98 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.00544, allocations: 4 kB / 269.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.005456, allocations: 4 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.005533, allocations: 15.92 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.005577, allocations: 19.92 kB / 269.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.005759, allocations: 71.66 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005763, allocations: 4 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005764, allocations: 0 / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.005771, allocations: 0 / 269.5 MB, free: 4.508 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.0007575/0.006528, allocations: 423.9 kB / 269.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.006576, allocations: 8.922 kB / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.006643, allocations: 16.84 kB / 269.9 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.006941, allocations: 148.3 kB / 270.1 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.00696, allocations: 12.38 kB / 270.1 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.006976, allocations: 4.375 kB / 270.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.007453, allocations: 180.5 kB / 270.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007465, allocations: 192 / 270.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.007476, allocations: 4.312 kB / 270.3 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.007485, allocations: 4.375 kB / 270.3 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.007606, allocations: 31.92 kB / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.008346, allocations: 414.3 kB / 270.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.008647, allocations: 137.3 kB / 270.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.008771, allocations: 63.17 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.008799, allocations: 0 / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.008841, allocations: 41.33 kB / 271 MB, free: 2.855 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.008842, allocations: 0 / 271 MB, free: 2.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003744/0.009216, allocations: 125.6 kB / 271.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.009327, allocations: 110.8 kB / 271.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.009511, allocations: 204.7 kB / 271.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.009537, allocations: 33.95 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.00963, allocations: 134.8 kB / 271.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.009653, allocations: 11.95 kB / 271.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.009701, allocations: 19.38 kB / 271.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000292/0.009993, allocations: 0.4884 MB / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.01003, allocations: 4 kB / 272.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.771e-05/0.01007, allocations: 27.31 kB / 272.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.01015, allocations: 31.36 kB / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01015, allocations: 4.062 kB / 272.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001308/0.01028, allocations: 53.58 kB / 272.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.0103, allocations: 11.94 kB / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.0103, allocations: 0 / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01032, allocations: 0 / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.01036, allocations: 4 kB / 272.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.01037, allocations: 0 / 272.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.01039, allocations: 7.984 kB / 272.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.0104, allocations: 3.938 kB / 272.2 MB, free: 1.496 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 0.0001375/0.01054, allocations: 164.6 kB / 272.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.01068, allocations: 77.58 kB / 272.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.01074, allocations: 20.72 kB / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01074, allocations: 0 / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.01074, allocations: 4 kB / 272.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01075, allocations: 0 / 272.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.01099, allocations: 140.6 kB / 272.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01099, allocations: 0 / 272.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.01107, allocations: 15.98 kB / 272.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01107, allocations: 4 kB / 272.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01108, allocations: 0 / 272.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.01109, allocations: 15.94 kB / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01109, allocations: 0 / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.0116, allocations: 418.1 kB / 273.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.01165, allocations: 31.84 kB / 273.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01167, allocations: 4 kB / 273.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.01176, allocations: 4 kB / 273.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.0118, allocations: 4 kB / 273.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.0118, allocations: 0 / 273.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.01192, allocations: 155.1 kB / 273.3 MB, free: 384 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01192, allocations: 4 kB / 273.3 MB, free: 380 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.01219, allocations: 8 kB / 273.3 MB, free: 372 kB / 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 0.0001315/0.01232, allocations: 99.19 kB / 273.4 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.0125, allocations: 43.61 kB / 273.4 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.0125, allocations: 0 / 273.4 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.01255, allocations: 19.67 kB / 273.4 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.01307, allocations: 41.02 kB / 273.5 MB, free: 152 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.0136, allocations: 215.9 kB / 273.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.01371, allocations: 87.89 kB / 273.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.01375, allocations: 7.938 kB / 273.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.0138, allocations: 12.5 kB / 273.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0138, allocations: 0 / 273.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Templates: time 0.004382/0.01818, allocations: 0.701 MB / 274.5 MB, free: 15.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.441803370020352]