Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001533/0.001533, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001639/0.001639, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 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 1.475/1.475, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.135e-05/4.35e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.005647/0.005691, allocations: 1.579 MB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.006373, allocations: 135.5 kB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.006504, allocations: 0 / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.634e-05/0.00659, allocations: 7.922 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.006796, allocations: 15.88 kB / 273.9 MB, free: 60 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.007189, allocations: 39.83 kB / 274 MB, free: 20 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.007382, allocations: 35.98 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.007521, allocations: 7.906 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.007616, allocations: 23.97 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.007691, allocations: 11.92 kB / 274.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.007719, allocations: 0 / 274.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.007737, allocations: 4 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.007809, allocations: 8 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.00787, allocations: 15.92 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.008072, allocations: 47.81 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.008076, allocations: 3.938 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.008078, allocations: 0 / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.008085, allocations: 0 / 274.1 MB, free: 15.86 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.0007235/0.008809, allocations: 286.1 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.008875, allocations: 15.98 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.008957, allocations: 12.89 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.009369, allocations: 137.5 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.009391, allocations: 8.375 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.009406, allocations: 4.375 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.009882, allocations: 125.5 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.009893, allocations: 192 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.009907, allocations: 384 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.009912, allocations: 384 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.01004, allocations: 23.92 kB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.01051, allocations: 205.4 kB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.01081, allocations: 57.2 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.01093, allocations: 37.75 kB / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.01097, allocations: 0 / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.01102, allocations: 34.5 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.01102, allocations: 4 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004317/0.01145, allocations: 81.5 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.01157, allocations: 77.11 kB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.01178, allocations: 138.2 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01181, allocations: 29.7 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01191, allocations: 88.12 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.01193, allocations: 0 / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.01199, allocations: 17.67 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.01223, allocations: 314.8 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.01228, allocations: 7.984 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.01233, allocations: 4 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.01244, allocations: 20.84 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01244, allocations: 4.062 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001588/0.0126, allocations: 45.62 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.01263, allocations: 8 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.01264, allocations: 3.938 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.01267, allocations: 4 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.01274, allocations: 4 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01274, allocations: 0 / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.01278, allocations: 3.984 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.01279, allocations: 3.938 kB / 275.9 MB, free: 13.88 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 0.0001513/0.01294, allocations: 121.9 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.01307, allocations: 49.64 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/0.01313, allocations: 16.22 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.01313, allocations: 4 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01314, allocations: 0 / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01315, allocations: 0 / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.0134, allocations: 113.3 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0134, allocations: 0 / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.01348, allocations: 12 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01349, allocations: 0 / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.0135, allocations: 8 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.01351, allocations: 3.938 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01351, allocations: 0 / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.01384, allocations: 164.3 kB / 276.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.01389, allocations: 19.88 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.01392, allocations: 0 / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.01402, allocations: 7.938 kB / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.01409, allocations: 4 kB / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.01409, allocations: 0 / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.01423, allocations: 106.2 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01423, allocations: 4 kB / 276.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000385/0.01461, allocations: 8 kB / 276.5 MB, free: 13.18 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.0001861/0.0148, allocations: 91.25 kB / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.015, allocations: 23.98 kB / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.015, allocations: 0 / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.01506, allocations: 11.92 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.0156, allocations: 24.61 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.0162, allocations: 156.6 kB / 276.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.01634, allocations: 79.58 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.45e-05/0.01637, allocations: 0 / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.01642, allocations: 12.5 kB / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01642, allocations: 0 / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Templates: time 0.004933/0.02135, allocations: 0.5348 MB / 277.5 MB, free: 12.21 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.359068759949878]