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.002064/0.002064, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002504/0.002504, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.456/1.456, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.001573/0.001573, allocations: 43.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2477, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003017/0.2507, allocations: 1.607 MB / 425.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.2516, allocations: 482.8 kB / 426 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.2516, allocations: 3.938 kB / 426 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.2517, allocations: 3.938 kB / 426 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2518, allocations: 11.92 kB / 426 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2521, allocations: 47.72 kB / 426 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2522, allocations: 43.84 kB / 426.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.2523, allocations: 15.98 kB / 426.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.111e-05/0.2523, allocations: 23.86 kB / 426.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.2524, allocations: 23.86 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2524, allocations: 0 / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.2524, allocations: 4 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.2525, allocations: 11.98 kB / 426.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.2525, allocations: 23.81 kB / 426.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2526, allocations: 60.94 kB / 426.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2526, allocations: 0 / 426.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2526, allocations: 0 / 426.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2526, allocations: 4 kB / 426.2 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.0004812/0.2531, allocations: 298 kB / 426.5 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2532, allocations: 8.031 kB / 426.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.2532, allocations: 12.89 kB / 426.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.2534, allocations: 145.6 kB / 426.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.2534, allocations: 4.375 kB / 426.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2534, allocations: 4.375 kB / 426.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.2537, allocations: 117.3 kB / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2537, allocations: 0 / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2537, allocations: 0 / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.2537, allocations: 4 kB / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.2538, allocations: 23.92 kB / 426.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.2542, allocations: 240.8 kB / 427.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.2543, allocations: 61.14 kB / 427.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.2544, allocations: 25.77 kB / 427.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2544, allocations: 11.94 kB / 427.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2544, allocations: 34.5 kB / 427.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.086e-06/0.2544, allocations: 3.984 kB / 427.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002743/0.2547, allocations: 85.55 kB / 427.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.2548, allocations: 81.11 kB / 427.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2549, allocations: 138 kB / 427.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2549, allocations: 25.7 kB / 427.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.255, allocations: 88.12 kB / 427.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.255, allocations: 3.953 kB / 427.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.255, allocations: 17.72 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2552, allocations: 326.8 kB / 428 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.2552, allocations: 4 kB / 428 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.2552, allocations: 43.36 kB / 428 MB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.44e-05/0.2553, allocations: 51.36 kB / 428.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2553, allocations: 0 / 428.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001424/0.2555, allocations: 73.56 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2555, allocations: 4 kB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2555, allocations: 0 / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2555, allocations: 4 kB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.2556, allocations: 4 kB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2556, allocations: 4 kB / 428.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.2556, allocations: 7.984 kB / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2557, allocations: 4 kB / 428.2 MB, free: 10.16 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 8.984e-05/0.2557, allocations: 125.8 kB / 428.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.2558, allocations: 49.64 kB / 428.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.2559, allocations: 12.34 kB / 428.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2559, allocations: 0 / 428.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2559, allocations: 0 / 428.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2559, allocations: 4 kB / 428.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.256, allocations: 148.6 kB / 428.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.256, allocations: 0 / 428.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.2561, allocations: 8 kB / 428.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2561, allocations: 4 kB / 428.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2561, allocations: 4 kB / 428.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2561, allocations: 0 / 428.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2561, allocations: 0 / 428.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2563, allocations: 176.2 kB / 428.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.2563, allocations: 15.94 kB / 428.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2563, allocations: 4 kB / 428.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.2564, allocations: 7.984 kB / 428.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.2564, allocations: 0 / 428.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2564, allocations: 4 kB / 428.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.2565, allocations: 104.7 kB / 428.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2565, allocations: 3.938 kB / 428.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2567, allocations: 4 kB / 428.8 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 9.219e-05/0.2568, allocations: 103.2 kB / 428.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.257, allocations: 31.92 kB / 428.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.257, allocations: 0 / 428.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.257, allocations: 11.98 kB / 429 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2573, allocations: 28.42 kB / 429 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.2577, allocations: 189.4 kB / 429.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.258, allocations: 0.6964 MB / 429.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.2581, allocations: 11.44 kB / 429.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2581, allocations: 0 / 429.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of Templates: time 0.002385/0.2605, allocations: 0.7489 MB / 430.6 MB, free: 7.531 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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: 6.786896865814924]