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.001068/0.001068, allocations: 80.25 kB / 22.21 MB, free: 2.281 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.001164/0.001164, allocations: 162.2 kB / 25.61 MB, free: 8.59 MB / 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 0.9037/0.9037, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.793e-06/1.793e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.314e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.005678/0.005701, allocations: 1.6 MB / 275.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.006087, allocations: 148.2 kB / 275.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.006165, allocations: 0 / 275.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.502e-05/0.00622, allocations: 5.5 kB / 275.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.006349, allocations: 11.92 kB / 275.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.006576, allocations: 35.84 kB / 275.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.718e-05/0.006673, allocations: 35.84 kB / 276 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.009769, allocations: 13.92 kB / 276 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.009829, allocations: 19.98 kB / 276 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.604e-05/0.009866, allocations: 7.922 kB / 276 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.009881, allocations: 4 kB / 276 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.009892, allocations: 4 kB / 276 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.009936, allocations: 19.92 kB / 276 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.009958, allocations: 4 kB / 276 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.246e-05/0.01005, allocations: 35.83 kB / 276.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01005, allocations: 4 kB / 276.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01005, allocations: 3.938 kB / 276.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.01006, allocations: 0 / 276.1 MB, free: 2.336 MB / 250.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.0003427/0.0104, allocations: 400.3 kB / 276.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01043, allocations: 8.031 kB / 276.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.01046, allocations: 8.891 kB / 276.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.01061, allocations: 132.5 kB / 276.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.01062, allocations: 8.375 kB / 276.6 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.01063, allocations: 4.375 kB / 276.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.01082, allocations: 125.5 kB / 276.7 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.01082, allocations: 192 / 276.7 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.01083, allocations: 8.375 kB / 276.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01084, allocations: 384 / 276.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.01085, allocations: 15.92 kB / 276.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.01105, allocations: 240.1 kB / 277 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.01115, allocations: 66.11 kB / 277.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.01119, allocations: 27.44 kB / 277.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.0112, allocations: 0 / 277.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.01122, allocations: 45.3 kB / 277.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.01122, allocations: 4 kB / 277.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001242/0.01134, allocations: 57.58 kB / 277.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.01139, allocations: 81.05 kB / 277.3 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.01148, allocations: 192.5 kB / 277.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.01149, allocations: 25.7 kB / 277.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.01153, allocations: 130.9 kB / 277.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.01154, allocations: 0 / 277.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.01157, allocations: 27.33 kB / 277.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01171, allocations: 0.4922 MB / 278.1 MB, free: 36 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.01172, allocations: 4 kB / 278.1 MB, free: 32 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.01172, allocations: 0 / 278.1 MB, free: 32 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.711e-05/0.01174, allocations: 7.688 kB / 278.1 MB, free: 20 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01174, allocations: 0 / 278.1 MB, free: 20 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.514e-05/0.0118, allocations: 41.7 kB / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01181, allocations: 4 kB / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01181, allocations: 0 / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.01182, allocations: 3.938 kB / 278.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.751e-05/0.01185, allocations: 4 kB / 278.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.01185, allocations: 0 / 278.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.01187, allocations: 3.984 kB / 278.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.01187, allocations: 4 kB / 278.2 MB, free: 15.95 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 6.343e-05/0.01193, allocations: 152.6 kB / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.01199, allocations: 53.69 kB / 278.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.01201, allocations: 12.33 kB / 278.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01202, allocations: 7.938 kB / 278.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01202, allocations: 0 / 278.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01202, allocations: 240 / 278.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.01214, allocations: 109.2 kB / 278.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01214, allocations: 0 / 278.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.01217, allocations: 11.98 kB / 278.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01217, allocations: 0 / 278.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.01217, allocations: 0 / 278.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01217, allocations: 0 / 278.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01217, allocations: 4 kB / 278.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/0.01226, allocations: 203.5 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.01229, allocations: 7.953 kB / 278.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.0123, allocations: 7.984 kB / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.01235, allocations: 0 / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.01237, allocations: 3.938 kB / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01237, allocations: 11.94 kB / 278.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.201e-05/0.01243, allocations: 131.2 kB / 278.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01243, allocations: 0 / 278.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003211/0.01564, allocations: 4 kB / 278.9 MB, free: 15.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 7.44e-05/0.01571, allocations: 99.28 kB / 279 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.189e-05/0.01577, allocations: 19.61 kB / 279 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01577, allocations: 0 / 279 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.01579, allocations: 19.67 kB / 279 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01606, allocations: 24.67 kB / 279.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.01628, allocations: 152.9 kB / 279.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.01633, allocations: 71.14 kB / 279.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.637e-05/0.01634, allocations: 4.125 kB / 279.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.01639, allocations: 78.19 kB / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01639, allocations: 0 / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Templates: time 0.001967/0.01836, allocations: 0.5655 MB / 279.9 MB, free: 14.09 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7276632636785507]