Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001307/0.001307, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001386/0.001386, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2172, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006041/0.2232, allocations: 4.109 MB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.2256, allocations: 1.372 MB / 437.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.2259, allocations: 35.69 kB / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.2263, allocations: 174.2 kB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.2267, allocations: 166.3 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.2274, allocations: 383.4 kB / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.2284, allocations: 0.9744 MB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.2289, allocations: 283.4 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.2293, allocations: 342.6 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.2297, allocations: 349.9 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.2298, allocations: 72 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.23, allocations: 123.9 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.2302, allocations: 175.3 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.2305, allocations: 334.1 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.2317, allocations: 1.122 MB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2317, allocations: 0 / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2317, allocations: 0 / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2317, allocations: 4 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001681/0.2334, allocations: 1.097 MB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2334, allocations: 12.03 kB / 443.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.2337, allocations: 115.3 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2348, allocations: 0.559 MB / 444.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.2348, allocations: 57.94 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.2349, allocations: 87.95 kB / 444.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.2364, allocations: 0.8442 MB / 445.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.2364, allocations: 7.938 kB / 445.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.2365, allocations: 36 kB / 445.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.2365, allocations: 20 kB / 445.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.2375, allocations: 471.3 kB / 445.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.2413, allocations: 4.085 MB / 449.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.2419, allocations: 293.3 kB / 450 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.2422, allocations: 137.5 kB / 450.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.2423, allocations: 16.3 kB / 450.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2423, allocations: 42.94 kB / 450.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.2423, allocations: 0 / 450.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.00341/0.2457, allocations: 1.596 MB / 451.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2458, allocations: 63.84 kB / 451.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.2464, allocations: 0.5508 MB / 452.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.2465, allocations: 37.7 kB / 452.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.2468, allocations: 491.7 kB / 452.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.247, allocations: 222.2 kB / 453.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.2472, allocations: 130.6 kB / 453.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.2474, allocations: 386.7 kB / 453.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.2477, allocations: 161.9 kB / 453.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.2483, allocations: 463.2 kB / 454.2 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.2492, allocations: 0.6634 MB / 454.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2492, allocations: 4 kB / 454.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001225/0.2504, allocations: 0.7386 MB / 455.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.2504, allocations: 15.94 kB / 455.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2504, allocations: 8 kB / 455.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.2506, allocations: 48.84 kB / 455.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.2512, allocations: 179.7 kB / 455.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.2527, allocations: 1.559 MB / 457.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.253, allocations: 28 kB / 457.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.253, allocations: 32 kB / 457.5 MB, free: 12.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.2533, allocations: 233.5 kB / 457.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.2534, allocations: 79.52 kB / 457.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.2536, allocations: 75.08 kB / 457.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2536, allocations: 3.938 kB / 457.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2536, allocations: 3.984 kB / 457.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.2537, allocations: 59.59 kB / 457.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.2537, allocations: 12 kB / 457.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2539, allocations: 8 kB / 457.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.254, allocations: 40.42 kB / 458 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001234/0.2552, allocations: 0.5487 MB / 458.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001165/0.2564, allocations: 0.797 MB / 459.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002885/0.2567, allocations: 159.8 kB / 459.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004242/0.2571, allocations: 363.1 kB / 459.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.2571, allocations: 3.938 kB / 459.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.2583, allocations: 0.5417 MB / 460.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of SimCode: time 0.003187/0.2615, allocations: 2.311 MB / 462.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of Templates: time 0.01544/0.2769, allocations: 7.752 MB / 470.4 MB, free: 15.66 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.418093786996906]