Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.902e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00308/0.003109, allocations: 1.602 MB / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004538, allocations: 0.5024 MB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004654, allocations: 4 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.00472, allocations: 3.938 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.004881, allocations: 11.92 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.005254, allocations: 59.7 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.00539, allocations: 51.83 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.005486, allocations: 4 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.00566, allocations: 35.84 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.005724, allocations: 19.91 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.005745, allocations: 4 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.005785, allocations: 4 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.005849, allocations: 11.98 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.005892, allocations: 15.94 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.006056, allocations: 59.73 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006059, allocations: 4 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00606, allocations: 0 / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.006064, allocations: 0 / 274.7 MB, free: 15.4 MB / 266.7 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.0005143/0.006578, allocations: 298 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.006613, allocations: 8.031 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.006814, allocations: 24.83 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.007088, allocations: 145.6 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.007101, allocations: 4.375 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.007115, allocations: 12.31 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.007427, allocations: 113.6 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.007435, allocations: 192 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.007444, allocations: 384 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007452, allocations: 3.938 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.007538, allocations: 19.98 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.007895, allocations: 205.4 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.008099, allocations: 69.19 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.00817, allocations: 25.72 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.008196, allocations: 7.984 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.008233, allocations: 38.5 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.008234, allocations: 0 / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002836/0.008517, allocations: 81.75 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.008586, allocations: 81.09 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.00875, allocations: 145.5 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.008778, allocations: 33.7 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.008839, allocations: 84.14 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.008857, allocations: 7.891 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.008894, allocations: 13.72 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.009066, allocations: 322.8 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.009104, allocations: 4 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.009135, allocations: 11.98 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.009219, allocations: 24.84 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00922, allocations: 4 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001204/0.009341, allocations: 49.58 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.009368, allocations: 11.94 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.009373, allocations: 0 / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.009386, allocations: 0 / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.00944, allocations: 8 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.009444, allocations: 0 / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.009477, allocations: 3.984 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.009482, allocations: 0 / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.878e-05/0.009581, allocations: 117.9 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.009683, allocations: 61.52 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.009712, allocations: 8.344 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.009716, allocations: 4 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.009719, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.009722, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.009886, allocations: 121.3 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009887, allocations: 0 / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.009943, allocations: 8 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009945, allocations: 0 / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.009956, allocations: 11.92 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009957, allocations: 0 / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.009961, allocations: 4 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01018, allocations: 168.3 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.01022, allocations: 15.95 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.01024, allocations: 3.938 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.01031, allocations: 3.984 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.01034, allocations: 4 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.01034, allocations: 0 / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.01043, allocations: 111.2 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01043, allocations: 8 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.01067, allocations: 4 kB / 277.2 MB, free: 12.66 MB / 266.7 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.0001065/0.01077, allocations: 91.25 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.01091, allocations: 27.92 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01091, allocations: 0 / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.01095, allocations: 7.984 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.01128, allocations: 20.86 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.01165, allocations: 184.3 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.665e-05/0.01174, allocations: 75.33 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.01176, allocations: 0 / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.01179, allocations: 16.44 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01179, allocations: 0 / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Templates: time 0.003067/0.01486, allocations: 0.5457 MB / 278.1 MB, free: 11.65 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.329606031067669]