Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00146/0.00146, allocations: 84.88 kB / 22 MB, free: 4.754 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.001463/0.001463, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 158.6 MB / 187 MB, free: 6.277 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 59.92 kB / 299.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2171, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006228/0.2233, allocations: 4.083 MB / 352.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.2265, allocations: 1.345 MB / 353.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.227, allocations: 27.75 kB / 354 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.2275, allocations: 182.2 kB / 354.1 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.228, allocations: 166.3 kB / 354.3 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.2289, allocations: 367.5 kB / 354.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.23, allocations: 0.9703 MB / 355.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.2305, allocations: 267.4 kB / 355.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.2309, allocations: 342.6 kB / 356.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.2313, allocations: 313.8 kB / 356.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.2314, allocations: 76 kB / 356.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.2316, allocations: 112 kB / 356.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.2318, allocations: 171.3 kB / 356.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.2321, allocations: 338 kB / 357.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.2334, allocations: 1.111 MB / 358.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2334, allocations: 3.938 kB / 358.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2334, allocations: 0 / 358.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.2335, allocations: 0 / 358.3 MB, free: 5.664 MB / 318.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.001632/0.2351, allocations: 1.1 MB / 359.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2351, allocations: 8.031 kB / 359.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.2353, allocations: 115.3 kB / 359.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.2363, allocations: 0.5473 MB / 360.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.2363, allocations: 58 kB / 360.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.2365, allocations: 83.95 kB / 360.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.2378, allocations: 0.8442 MB / 361.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.2379, allocations: 11.94 kB / 361.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.2379, allocations: 39.98 kB / 361.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.2379, allocations: 20 kB / 361.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.2388, allocations: 471.3 kB / 361.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.2426, allocations: 4.089 MB / 365.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.2432, allocations: 284.6 kB / 366 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.2434, allocations: 133.6 kB / 366.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2435, allocations: 12.36 kB / 366.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2436, allocations: 38.94 kB / 366.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.893e-06/0.2436, allocations: 0 / 366.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003288/0.2469, allocations: 1.603 MB / 367.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2469, allocations: 55.91 kB / 367.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.2475, allocations: 0.5508 MB / 368.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2476, allocations: 37.7 kB / 368.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.248, allocations: 491.7 kB / 368.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2481, allocations: 226.1 kB / 369.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.2483, allocations: 130.6 kB / 369.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2485, allocations: 386.7 kB / 369.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.2488, allocations: 161.9 kB / 369.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.2493, allocations: 467.2 kB / 370.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/0.2502, allocations: 0.6644 MB / 370.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2502, allocations: 4 kB / 370.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001185/0.2514, allocations: 0.7516 MB / 371.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.2514, allocations: 12 kB / 371.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.2514, allocations: 8 kB / 371.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.2516, allocations: 48.84 kB / 371.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.2522, allocations: 179.7 kB / 371.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.2536, allocations: 1.555 MB / 373.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.2539, allocations: 28 kB / 373.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.2539, allocations: 32 kB / 373.5 MB, free: 5.613 MB / 334.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.0003023/0.2542, allocations: 233.5 kB / 373.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2544, allocations: 79.52 kB / 373.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.2545, allocations: 71.12 kB / 373.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2545, allocations: 11.92 kB / 373.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.2545, allocations: 4 kB / 373.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2545, allocations: 3.984 kB / 373.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.2564, allocations: 1.188 MB / 375.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2564, allocations: 3.938 kB / 375.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.2569, allocations: 120.2 kB / 375.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.884e-05/0.257, allocations: 32.84 kB / 375.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2571, allocations: 12 kB / 375.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009767/0.258, allocations: 1.237 MB / 376.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.258, allocations: 0 / 376.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2592, allocations: 0.7848 MB / 377.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/0.2593, allocations: 63.53 kB / 377.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.2593, allocations: 19.98 kB / 377.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2595, allocations: 8 kB / 377.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.2596, allocations: 43.88 kB / 377.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.2597, allocations: 19.98 kB / 377.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.2601, allocations: 359.1 kB / 377.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2601, allocations: 0 / 377.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006672/0.2608, allocations: 140 kB / 377.9 MB, free: 0.9688 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.2609, allocations: 123.2 kB / 378 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.2619, allocations: 0.5723 MB / 378.6 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2619, allocations: 0 / 378.6 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.2623, allocations: 295.6 kB / 378.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.2629, allocations: 111.1 kB / 379 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.2658, allocations: 1.851 MB / 380.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.2662, allocations: 378.3 kB / 381.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.2664, allocations: 89.91 kB / 381.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2666, allocations: 64.48 kB / 381.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2666, allocations: 0 / 381.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Templates: time 0.01171/0.2783, allocations: 5.238 MB / 386.6 MB, free: 8.137 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.494289754074998]