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.001567/0.001567, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001719/0.001719, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.628/1.628, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.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.001946/0.001946, allocations: 60.38 kB / 348.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4383, allocations: 49.16 MB / 397.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.0101/0.4484, allocations: 4.589 MB / 402.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.4532, allocations: 1.392 MB / 403.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.4541, allocations: 34.03 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.4547, allocations: 179.4 kB / 403.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007209/0.4554, allocations: 166.7 kB / 404 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.457, allocations: 371.3 kB / 404.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.4587, allocations: 0.978 MB / 405.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006648/0.4594, allocations: 282.8 kB / 405.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.4599, allocations: 342.3 kB / 405.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/0.4605, allocations: 348.7 kB / 406.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.4606, allocations: 72 kB / 406.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.461, allocations: 120.5 kB / 406.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.4612, allocations: 175.2 kB / 406.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.4617, allocations: 427.3 kB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.464, allocations: 1.108 MB / 408.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.464, allocations: 0 / 408.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.464, allocations: 0 / 408.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.464, allocations: 1.156 kB / 408.1 MB, free: 2.785 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.002631/0.4666, allocations: 1.097 MB / 409.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4667, allocations: 9.812 kB / 409.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.4669, allocations: 109.8 kB / 409.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.4685, allocations: 0.5502 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/0.4686, allocations: 61.56 kB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.4687, allocations: 84.91 kB / 410 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.4709, allocations: 0.8499 MB / 410.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-05/0.471, allocations: 5.641 kB / 410.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/0.4711, allocations: 38.41 kB / 410.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.4711, allocations: 21.78 kB / 411 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.473, allocations: 472.6 kB / 411.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008341/0.4813, allocations: 4.337 MB / 415.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.4826, allocations: 289.9 kB / 416 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.4831, allocations: 127.1 kB / 416.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.4833, allocations: 19.3 kB / 416.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.4833, allocations: 37.16 kB / 416.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 4.017e-06/0.4833, allocations: 0 / 416.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.007763/0.4911, allocations: 1.594 MB / 417.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.4912, allocations: 57.31 kB / 417.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.4926, allocations: 0.5441 MB / 418.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.4926, allocations: 36.2 kB / 418.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/0.4934, allocations: 489.4 kB / 418.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.4938, allocations: 227.5 kB / 419.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.4941, allocations: 137.9 kB / 419.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000354/0.4945, allocations: 386.3 kB / 419.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.4951, allocations: 163.7 kB / 419.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.4962, allocations: 454.5 kB / 420.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.4981, allocations: 0.6663 MB / 420.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.4981, allocations: 2.906 kB / 420.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002704/0.5008, allocations: 0.7418 MB / 421.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.5009, allocations: 9.594 kB / 421.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/0.5009, allocations: 9.969 kB / 421.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.5013, allocations: 51.66 kB / 421.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.5025, allocations: 176.9 kB / 421.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.5055, allocations: 1.584 MB / 423.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.5062, allocations: 28.36 kB / 423.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.5063, allocations: 38.25 kB / 423.6 MB, free: 6.867 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.0007173/0.507, allocations: 232.1 kB / 423.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.5073, allocations: 76.81 kB / 423.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.5077, allocations: 77.3 kB / 423.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.5077, allocations: 13.66 kB / 423.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.5077, allocations: 1.062 kB / 424 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.5077, allocations: 7.922 kB / 424 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/0.5123, allocations: 1.375 MB / 425.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5123, allocations: 1.719 kB / 425.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5133, allocations: 111.7 kB / 425.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.5135, allocations: 26.31 kB / 425.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.5136, allocations: 14.22 kB / 425.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.5155, allocations: 1.271 MB / 426.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.006e-06/0.5155, allocations: 7.281 kB / 426.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.5178, allocations: 0.7771 MB / 427.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.5182, allocations: 67.62 kB / 427.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.5184, allocations: 14.22 kB / 427.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.5189, allocations: 13.8 kB / 427.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.519, allocations: 46.62 kB / 427.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.5191, allocations: 17.16 kB / 427.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.5202, allocations: 366.1 kB / 428.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5202, allocations: 0 / 428.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001565/0.5217, allocations: 146.1 kB / 428.2 MB, free: 3.297 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.0003074/0.522, allocations: 113.7 kB / 428.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.5241, allocations: 0.5621 MB / 428.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5241, allocations: 0 / 428.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009215/0.525, allocations: 298 kB / 429.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5263, allocations: 95.17 kB / 429.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.5325, allocations: 1.93 MB / 431.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.5337, allocations: 0.9613 MB / 432.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.534, allocations: 67.42 kB / 432.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.534, allocations: 3.938 kB / 432.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Templates: time 0.03304/0.5671, allocations: 12.45 MB / 444.7 MB, free: 3.035 MB / 350.1 MB " [Timeout remaining time 659] 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 -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: 8.73921225219965]