Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 82.03 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 163.5 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.017e-05, allocations: 7.375 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003469/0.003499, allocations: 1.494 MB / 326.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.004629, allocations: 486 kB / 327 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.558e-05/0.004714, allocations: 4 kB / 327 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.004744, allocations: 10.7 kB / 327 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.004856, allocations: 19.44 kB / 327.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.00513, allocations: 38.25 kB / 327.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.005306, allocations: 77.91 kB / 327.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.005351, allocations: 11.17 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.005588, allocations: 49.5 kB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.005672, allocations: 29.97 kB / 327.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.005694, allocations: 4.656 kB / 327.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.005751, allocations: 8.938 kB / 327.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.005775, allocations: 11.73 kB / 327.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.005819, allocations: 18.75 kB / 327.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.005989, allocations: 66.64 kB / 327.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005991, allocations: 0 / 327.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005992, allocations: 0 / 327.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.005998, allocations: 1.469 kB / 327.4 MB, free: 15.04 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007452/0.006743, allocations: 326.7 kB / 327.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.006791, allocations: 9.094 kB / 327.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.007188, allocations: 33.22 kB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.007435, allocations: 129.4 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.00745, allocations: 1.5 kB / 327.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.007464, allocations: 1.344 kB / 327.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.007777, allocations: 86.72 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.00779, allocations: 5.312 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.007806, allocations: 4.125 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.007812, allocations: 1.188 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.008114, allocations: 62.77 kB / 328 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.00838, allocations: 127.5 kB / 328.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.008706, allocations: 103.2 kB / 328.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.008899, allocations: 48.94 kB / 328.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.008924, allocations: 1.156 kB / 328.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.008967, allocations: 39.03 kB / 328.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.008969, allocations: 0 / 328.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006207/0.00959, allocations: 143.6 kB / 328.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/0.009683, allocations: 109.5 kB / 328.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.00984, allocations: 133.8 kB / 328.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.009864, allocations: 25.7 kB / 328.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.009932, allocations: 93.36 kB / 328.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.009973, allocations: 12.55 kB / 328.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.01003, allocations: 22.06 kB / 328.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.0102, allocations: 314 kB / 329.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.01036, allocations: 42.11 kB / 329.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.01051, allocations: 50.47 kB / 329.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.01083, allocations: 84.03 kB / 329.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01083, allocations: 1.125 kB / 329.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003962/0.01123, allocations: 111.7 kB / 329.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.01125, allocations: 5.438 kB / 329.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.01126, allocations: 4 kB / 329.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.01128, allocations: 5.828 kB / 329.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.01144, allocations: 26.11 kB / 329.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01145, allocations: 1.719 kB / 329.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01156, allocations: 11.69 kB / 329.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.01157, allocations: 2.891 kB / 329.5 MB, free: 13.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001216/0.01169, allocations: 113 kB / 329.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.01172, allocations: 8.75 kB / 329.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.01176, allocations: 16.67 kB / 329.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.01176, allocations: 5.156 kB / 329.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01177, allocations: 1.469 kB / 329.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01178, allocations: 4.656 kB / 329.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.01192, allocations: 118.3 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.01193, allocations: 0.7969 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.01205, allocations: 18.48 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01206, allocations: 1.062 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.01207, allocations: 2.547 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.01208, allocations: 5.094 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.01208, allocations: 5.062 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.0125, allocations: 143.4 kB / 329.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.01254, allocations: 11.17 kB / 329.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01256, allocations: 1.344 kB / 329.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.01266, allocations: 10.92 kB / 330 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.01272, allocations: 13.88 kB / 330 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01273, allocations: 2.75 kB / 330 MB, free: 12.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.371e-05/0.01281, allocations: 105.4 kB / 330.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01281, allocations: 0 / 330.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.01302, allocations: 17.66 kB / 330.1 MB, free: 12.81 MB / 302.1 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.0001272/0.01315, allocations: 95.84 kB / 330.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.01351, allocations: 66.73 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01352, allocations: 3.938 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.01368, allocations: 43.64 kB / 330.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.01386, allocations: 2.766 kB / 330.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.01442, allocations: 190.4 kB / 330.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.01453, allocations: 74.12 kB / 330.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.01458, allocations: 11.11 kB / 330.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.01463, allocations: 14.02 kB / 330.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.01463, allocations: 0 / 330.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Templates: time 0.003941/0.01857, allocations: 0.6125 MB / 331.2 MB, free: 12.26 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.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.593291886150837]