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.001335/0.001335, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001693/0.001693, allocations: 210 kB / 24.48 MB, free: 3.938 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.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 0.001589/0.001589, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2448, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002664/0.2475, allocations: 1.485 MB / 433.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.2484, allocations: 486.7 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.2484, allocations: 0 / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.2484, allocations: 11.86 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.2485, allocations: 19.86 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.2487, allocations: 35.89 kB / 434.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2489, allocations: 71.66 kB / 434.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.2489, allocations: 8.172 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2491, allocations: 43.84 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.2492, allocations: 35.84 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2492, allocations: 4 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.2492, allocations: 11.98 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.2492, allocations: 11.98 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.2493, allocations: 15.88 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2494, allocations: 70.69 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2494, allocations: 0 / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2494, allocations: 0 / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2494, allocations: 0 / 434.6 MB, free: 4.406 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000626/0.25, allocations: 317.7 kB / 434.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2501, allocations: 8.031 kB / 434.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.2504, allocations: 32.86 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.2506, allocations: 130.4 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.2506, allocations: 384 / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2506, allocations: 8.312 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.2509, allocations: 92.33 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2509, allocations: 4 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2509, allocations: 0 / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2509, allocations: 4 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.2512, allocations: 67.81 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.2513, allocations: 135.1 kB / 435.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.2516, allocations: 95.75 kB / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2518, allocations: 50.59 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2518, allocations: 8 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2518, allocations: 34.56 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2518, allocations: 0 / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005374/0.2524, allocations: 145.4 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.2524, allocations: 103.2 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2526, allocations: 132.5 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2526, allocations: 25.7 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.2526, allocations: 92.14 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.2527, allocations: 15.84 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.2527, allocations: 17.7 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2528, allocations: 326.8 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.253, allocations: 27.97 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2531, allocations: 46.55 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.2534, allocations: 90.45 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2534, allocations: 0 / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003399/0.2538, allocations: 109.5 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2538, allocations: 11.94 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2538, allocations: 0 / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2538, allocations: 96 / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2539, allocations: 23.95 kB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2539, allocations: 0 / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.254, allocations: 15.98 kB / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2541, allocations: 7.938 kB / 436.7 MB, free: 2.039 MB / 334.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 9.386e-05/0.2542, allocations: 121.9 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.2542, allocations: 11.89 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.2542, allocations: 15.91 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2542, allocations: 4 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2542, allocations: 0 / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2542, allocations: 0 / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2543, allocations: 117.3 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2543, allocations: 0 / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2545, allocations: 19.97 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2545, allocations: 7.938 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2545, allocations: 11.94 kB / 437 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2545, allocations: 0 / 437 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2545, allocations: 0 / 437 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.2549, allocations: 142.7 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.2549, allocations: 11.95 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.2549, allocations: 3.938 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.255, allocations: 19.98 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.255, allocations: 7.984 kB / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.2551, allocations: 4 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.3e-05/0.2551, allocations: 95.27 kB / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2551, allocations: 0 / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.2555, allocations: 16 kB / 437.3 MB, free: 1.371 MB / 334.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 9.952e-05/0.2556, allocations: 87.25 kB / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.2559, allocations: 79.86 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2559, allocations: 0 / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.2561, allocations: 39.91 kB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.2562, allocations: 4 kB / 437.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.2567, allocations: 231.1 kB / 437.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.689e-05/0.2568, allocations: 71.33 kB / 437.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.2569, allocations: 15.38 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2569, allocations: 0 / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Templates: time 0.002546/0.2594, allocations: 0.9276 MB / 438.8 MB, free: 15.86 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/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: 7.107366586104035]