Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001753/0.001753, allocations: 112 kB / 20.43 MB, free: 1.457 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.001995/0.001995, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.575/1.575, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 47.92 kB / 370.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3304, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003194/0.3336, allocations: 1.604 MB / 424.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009489/0.3345, allocations: 482.8 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.3346, allocations: 7.938 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.617e-05/0.3347, allocations: 3.938 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3348, allocations: 7.922 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3351, allocations: 43.84 kB / 425.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3352, allocations: 51.78 kB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3354, allocations: 11.98 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.3354, allocations: 19.92 kB / 425.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.3355, allocations: 19.86 kB / 425.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3355, allocations: 4 kB / 425.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.3355, allocations: 8 kB / 425.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.3356, allocations: 11.98 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3357, allocations: 23.81 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3358, allocations: 56.94 kB / 425.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3358, allocations: 0 / 425.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.23e-06/0.3358, allocations: 4 kB / 425.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3358, allocations: 0 / 425.5 MB, free: 12.32 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.0005231/0.3363, allocations: 298 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3364, allocations: 8.031 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3364, allocations: 12.89 kB / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.3367, allocations: 146.3 kB / 425.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3367, allocations: 4.375 kB / 425.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.3367, allocations: 4.375 kB / 425.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.3371, allocations: 121.3 kB / 426 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3371, allocations: 0 / 426 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3371, allocations: 0 / 426 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3371, allocations: 0 / 426 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.3372, allocations: 23.92 kB / 426.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.3377, allocations: 236.8 kB / 426.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3379, allocations: 65.08 kB / 426.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.338, allocations: 33.77 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.338, allocations: 0 / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.338, allocations: 30.56 kB / 426.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.338, allocations: 4 kB / 426.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003245/0.3384, allocations: 85.55 kB / 426.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.3385, allocations: 77.11 kB / 426.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3386, allocations: 141.8 kB / 426.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.3386, allocations: 25.7 kB / 426.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.3387, allocations: 92.12 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3387, allocations: 4.078 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3388, allocations: 21.72 kB / 426.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.339, allocations: 318.8 kB / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.339, allocations: 12 kB / 427.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.3391, allocations: 31.61 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.3392, allocations: 51.36 kB / 427.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3392, allocations: 0 / 427.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.3393, allocations: 69.56 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3393, allocations: 4 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3393, allocations: 8.125 kB / 427.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3393, allocations: 96 / 427.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.3394, allocations: 11.98 kB / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3394, allocations: 3.938 kB / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.3395, allocations: 7.984 kB / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3395, allocations: 0 / 427.4 MB, free: 10.17 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.954e-05/0.3396, allocations: 125.7 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.3396, allocations: 49.64 kB / 427.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.3397, allocations: 16.28 kB / 427.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.3397, allocations: 8 kB / 427.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3397, allocations: 0 / 427.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3397, allocations: 0 / 427.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3399, allocations: 152.6 kB / 427.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3399, allocations: 0 / 427.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.3399, allocations: 11.94 kB / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3399, allocations: 0 / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.34, allocations: 0 / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.34, allocations: 3.938 kB / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.34, allocations: 0 / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.3402, allocations: 176.3 kB / 427.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.3402, allocations: 15.94 kB / 427.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3402, allocations: 4 kB / 427.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.3403, allocations: 7.984 kB / 427.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.3403, allocations: 0 / 427.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3403, allocations: 0 / 427.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.3404, allocations: 109.9 kB / 428 MB, free: 9.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3404, allocations: 0 / 428 MB, free: 9.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.3406, allocations: 8 kB / 428.1 MB, free: 9.414 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.0001063/0.3407, allocations: 99.17 kB / 428.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.3409, allocations: 31.98 kB / 428.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3409, allocations: 0 / 428.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.341, allocations: 12.17 kB / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3414, allocations: 24.03 kB / 428.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.3417, allocations: 167.7 kB / 428.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3421, allocations: 0.6922 MB / 429.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.3421, allocations: 4.25 kB / 429.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.3421, allocations: 7.438 kB / 429.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3421, allocations: 4 kB / 429.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of Templates: time 0.003341/0.3455, allocations: 0.5632 MB / 429.6 MB, free: 7.758 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.778041755780578]