Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 112.7 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009014/0.0009015, allocations: 55.91 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.216, allocations: 49.43 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005114/0.2212, allocations: 4.578 MB / 406 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.2232, allocations: 1.337 MB / 407.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.2234, allocations: 27.81 kB / 407.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.2238, allocations: 174.2 kB / 407.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.2241, allocations: 170.3 kB / 407.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.2248, allocations: 367.5 kB / 408 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008303/0.2256, allocations: 0.9783 MB / 409 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.2261, allocations: 414.9 kB / 409.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.2265, allocations: 334.5 kB / 409.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.2268, allocations: 346 kB / 410.1 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.2269, allocations: 72 kB / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.2271, allocations: 116 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2272, allocations: 175.2 kB / 410.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.2275, allocations: 425.5 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.2284, allocations: 1.102 MB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2284, allocations: 0 / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2285, allocations: 0 / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2285, allocations: 0 / 412 MB, free: 14.28 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001432/0.2299, allocations: 1.142 MB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.23, allocations: 11.89 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2301, allocations: 106.7 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.231, allocations: 0.6228 MB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.231, allocations: 69.94 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.2311, allocations: 76 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2324, allocations: 0.8442 MB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.2324, allocations: 15.84 kB / 414.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.2325, allocations: 36 kB / 414.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.2325, allocations: 20 kB / 414.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.2334, allocations: 475.3 kB / 415.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.2366, allocations: 4.384 MB / 419.7 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.2372, allocations: 296.2 kB / 420 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2374, allocations: 145.5 kB / 420.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.2376, allocations: 162.6 kB / 420.3 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2376, allocations: 46.86 kB / 420.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.054e-06/0.2376, allocations: 0 / 420.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003113/0.2408, allocations: 1.732 MB / 422.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2408, allocations: 59.97 kB / 422.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.2413, allocations: 0.5468 MB / 422.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.2414, allocations: 37.7 kB / 422.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.2417, allocations: 474.4 kB / 423.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.2418, allocations: 213 kB / 423.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.242, allocations: 138.5 kB / 423.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2421, allocations: 382.8 kB / 423.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.2424, allocations: 161.9 kB / 424.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.2429, allocations: 455.2 kB / 424.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.2437, allocations: 0.6712 MB / 425.2 MB, free: 176 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2437, allocations: 4 kB / 425.2 MB, free: 172 kB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001082/0.2448, allocations: 0.7382 MB / 426 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2448, allocations: 12 kB / 426 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.2448, allocations: 11.94 kB / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.245, allocations: 52.83 kB / 426 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.2455, allocations: 175.7 kB / 426.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.2468, allocations: 1.682 MB / 427.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.2471, allocations: 32 kB / 427.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.2471, allocations: 40.05 kB / 427.9 MB, free: 13.27 MB / 350.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.0002657/0.2474, allocations: 237.5 kB / 428.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.2475, allocations: 75.03 kB / 428.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.2476, allocations: 75.08 kB / 428.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.2476, allocations: 3.984 kB / 428.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2476, allocations: 0 / 428.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2478, allocations: 136.2 kB / 428.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.2478, allocations: 8 kB / 428.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.248, allocations: 16 kB / 428.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.2481, allocations: 36.5 kB / 428.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001076/0.2492, allocations: 0.5502 MB / 429.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009675/0.2502, allocations: 0.7945 MB / 429.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002565/0.2504, allocations: 172.4 kB / 430 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.2508, allocations: 359.1 kB / 430.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Backend: time 3.5e-07/0.2508, allocations: 0 / 430.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.2519, allocations: 0.5594 MB / 430.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 0.00257/0.2544, allocations: 2.259 MB / 433.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of Templates: time 0.01193/0.2664, allocations: 6.43 MB / 439.6 MB, free: 1.484 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches