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.00125/0.00125, allocations: 115.7 kB / 17.75 MB, free: 5.219 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.001013/0.001014, allocations: 181.4 kB / 18.67 MB, free: 4.301 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009562/0.0009563, allocations: 51.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.203, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005131/0.2081, allocations: 4.572 MB / 406 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.2099, allocations: 1.329 MB / 407.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.2102, allocations: 23.88 kB / 407.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.2105, allocations: 178.2 kB / 407.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.2109, allocations: 170.3 kB / 407.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.2115, allocations: 371.5 kB / 408 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.2123, allocations: 0.986 MB / 409 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005081/0.2129, allocations: 414.9 kB / 409.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.2132, allocations: 334.6 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.2135, allocations: 342 kB / 410.1 MB, free: 172 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.991e-05/0.2136, allocations: 75.94 kB / 410.2 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.2138, allocations: 120 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.2139, allocations: 171.2 kB / 410.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.2142, allocations: 425.6 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.2152, allocations: 1.1 MB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2152, allocations: 0 / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2152, allocations: 0 / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.2152, allocations: 4 kB / 412 MB, free: 14.29 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.001413/0.2166, allocations: 1.172 MB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2167, allocations: 8.031 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.2168, allocations: 115.2 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.2176, allocations: 0.639 MB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.2177, allocations: 58 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2178, allocations: 83.95 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.219, allocations: 0.8559 MB / 414.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.219, allocations: 11.89 kB / 414.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.2191, allocations: 32 kB / 414.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.2191, allocations: 20 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000869/0.22, allocations: 471.3 kB / 415.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.2233, allocations: 4.378 MB / 419.8 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.2238, allocations: 300.1 kB / 420.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.2241, allocations: 137.6 kB / 420.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.2242, allocations: 174.6 kB / 420.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2243, allocations: 34.94 kB / 420.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.834e-06/0.2243, allocations: 0 / 420.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003067/0.2273, allocations: 1.747 MB / 422.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.2274, allocations: 55.97 kB / 422.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.2279, allocations: 0.5392 MB / 422.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.228, allocations: 41.64 kB / 422.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.2282, allocations: 491.7 kB / 423.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.2284, allocations: 226.1 kB / 423.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.2286, allocations: 142.6 kB / 423.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2287, allocations: 382.8 kB / 424 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.229, allocations: 157.9 kB / 424.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.2294, allocations: 463.2 kB / 424.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.2302, allocations: 0.6712 MB / 425.3 MB, free: 96 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2302, allocations: 0 / 425.3 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001096/0.2313, allocations: 0.7496 MB / 426 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2314, allocations: 12.91 kB / 426.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2314, allocations: 8 kB / 426.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.2315, allocations: 52.84 kB / 426.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.2321, allocations: 179.7 kB / 426.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.2333, allocations: 1.697 MB / 428 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.2336, allocations: 28 kB / 428 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.2337, allocations: 36 kB / 428.1 MB, free: 13.18 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.0002509/0.2339, allocations: 225.6 kB / 428.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.234, allocations: 75.47 kB / 428.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.2342, allocations: 87.12 kB / 428.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2342, allocations: 0 / 428.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2342, allocations: 0 / 428.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.2343, allocations: 136.6 kB / 428.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.2343, allocations: 12 kB / 428.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2345, allocations: 12 kB / 428.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.2346, allocations: 32.52 kB / 428.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001095/0.2357, allocations: 0.558 MB / 429.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009768/0.2367, allocations: 0.795 MB / 430 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002459/0.237, allocations: 172.4 kB / 430.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000355/0.2373, allocations: 363.1 kB / 430.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2373, allocations: 4 kB / 430.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2384, allocations: 0.5556 MB / 431.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of SimCode: time 0.002531/0.2409, allocations: 2.299 MB / 433.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of Templates: time 0.01179/0.2527, allocations: 6.431 MB / 439.8 MB, free: 1.34 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