Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.0021/0.0021, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002289/0.002289, allocations: 156.9 kB / 24.27 MB, free: 172 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.518/1.518, allocations: 177 MB / 204.4 MB, free: 5.613 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.025e-05/4.312e-05, allocations: 5.125 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003889/0.003932, allocations: 1.596 MB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.005105, allocations: 0.5374 MB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.00518, allocations: 3.938 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.005232, allocations: 7.922 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.005363, allocations: 15.88 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.005679, allocations: 63.67 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.005809, allocations: 51.8 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.005899, allocations: 12.11 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.006044, allocations: 43.89 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.006097, allocations: 11.98 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.006114, allocations: 4 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.006151, allocations: 4 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.0062, allocations: 19.92 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.006234, allocations: 15.92 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.006387, allocations: 59.73 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.006392, allocations: 4 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006393, allocations: 0 / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.006397, allocations: 0 / 274.7 MB, free: 15.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004843/0.006882, allocations: 305.9 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.006917, allocations: 15.98 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.00707, allocations: 20.88 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.007313, allocations: 146.2 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.007328, allocations: 8.375 kB / 275.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.007336, allocations: 384 / 275.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.007626, allocations: 122.2 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.007636, allocations: 0 / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.007645, allocations: 0 / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.007651, allocations: 4 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.007737, allocations: 23.92 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.008057, allocations: 210.3 kB / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.008192, allocations: 75.73 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.746e-05/0.008269, allocations: 42.56 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.008289, allocations: 0 / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.008326, allocations: 38.56 kB / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.008326, allocations: 0 / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002943/0.00862, allocations: 89.5 kB / 275.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.008713, allocations: 114.8 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.008874, allocations: 137.2 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.008895, allocations: 30.08 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.008964, allocations: 96.12 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.008976, allocations: 0 / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.009008, allocations: 13.72 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.009196, allocations: 326.8 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.009237, allocations: 4 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.009265, allocations: 4 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.009335, allocations: 20.84 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.009336, allocations: 3.938 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001272/0.009463, allocations: 65.62 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.009476, allocations: 4 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.00948, allocations: 0 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.009491, allocations: 0 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.009552, allocations: 4 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.009556, allocations: 0 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.00959, allocations: 4 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.009594, allocations: 0 / 276.5 MB, free: 13.2 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.0003604/0.009955, allocations: 121.8 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.01005, allocations: 61.61 kB / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.01008, allocations: 11.97 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01008, allocations: 0 / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01008, allocations: 0 / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01008, allocations: 0 / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.01026, allocations: 125.2 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01026, allocations: 0 / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.01032, allocations: 8 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.01032, allocations: 0 / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.01033, allocations: 8 kB / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01033, allocations: 4.062 kB / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.01034, allocations: 3.984 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.01059, allocations: 185.1 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.01062, allocations: 15.91 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01064, allocations: 4 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.01072, allocations: 7.984 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.01075, allocations: 0 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01075, allocations: 4 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.01085, allocations: 107.2 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01085, allocations: 0 / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.01107, allocations: 12 kB / 277.2 MB, free: 12.47 MB / 266.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 (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.000112/0.01118, allocations: 91.25 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.01131, allocations: 31.92 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01131, allocations: 0 / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.01135, allocations: 7.984 kB / 277.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.0117, allocations: 32.8 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01208, allocations: 189.3 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.19e-05/0.01217, allocations: 75.33 kB / 277.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.07e-05/0.0122, allocations: 4 kB / 277.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.01223, allocations: 12.48 kB / 277.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01223, allocations: 0 / 277.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Templates: time 0.003138/0.01537, allocations: 0.6435 MB / 278.3 MB, free: 11.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.5757577429758385]