Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2017, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006341/0.2081, allocations: 5.444 MB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.2115, allocations: 2.134 MB / 417.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.212, allocations: 35.81 kB / 417.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.2124, allocations: 206.2 kB / 417.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.2127, allocations: 174.4 kB / 417.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.2135, allocations: 407 kB / 418.3 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008525/0.2144, allocations: 1.021 MB / 419.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.2151, allocations: 0.6104 MB / 419.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.2155, allocations: 342.9 kB / 420.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.2158, allocations: 366.3 kB / 420.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.2159, allocations: 96 kB / 420.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.2162, allocations: 155.9 kB / 420.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2164, allocations: 195.4 kB / 421.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.2167, allocations: 438 kB / 421.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009717/0.2177, allocations: 1.188 MB / 422.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2177, allocations: 0 / 422.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2177, allocations: 0 / 422.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2177, allocations: 0 / 422.7 MB, free: 4.742 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001317/0.219, allocations: 1.037 MB / 423.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2191, allocations: 8.031 kB / 423.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.2193, allocations: 99.8 kB / 423.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.22, allocations: 0.5182 MB / 424.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.2201, allocations: 66.38 kB / 424.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2202, allocations: 88.28 kB / 424.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.2215, allocations: 0.8086 MB / 425.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.2215, allocations: 4 kB / 425.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.2216, allocations: 36 kB / 425.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2216, allocations: 24 kB / 425.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009396/0.2226, allocations: 0.4957 MB / 425.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.2255, allocations: 2.852 MB / 428.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.226, allocations: 218.7 kB / 428.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.2262, allocations: 104.8 kB / 429 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.2264, allocations: 251.3 kB / 429.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2264, allocations: 31.06 kB / 429.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.2264, allocations: 0 / 429.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002209/0.2286, allocations: 1.265 MB / 430.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.2287, allocations: 59.34 kB / 430.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.229, allocations: 317.5 kB / 430.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.229, allocations: 29.7 kB / 431 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.2293, allocations: 406.5 kB / 431.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.2293, allocations: 138.1 kB / 431.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2295, allocations: 78.27 kB / 431.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2296, allocations: 354.7 kB / 431.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.2298, allocations: 105.1 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.2301, allocations: 257 kB / 432.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.231, allocations: 396.6 kB / 432.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.231, allocations: 4 kB / 432.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007221/0.2318, allocations: 453.3 kB / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2318, allocations: 14.91 kB / 433.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2318, allocations: 4 kB / 433.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.232, allocations: 40.83 kB / 433.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.2324, allocations: 111.8 kB / 433.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003887/0.2328, allocations: 0.5644 MB / 433.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.233, allocations: 12 kB / 433.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.233, allocations: 27.94 kB / 433.9 MB, free: 8.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.2333, allocations: 220.7 kB / 434.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.2333, allocations: 31.62 kB / 434.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.2339, allocations: 329.8 kB / 434.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2339, allocations: 3.984 kB / 434.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2339, allocations: 0 / 434.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.234, allocations: 108.7 kB / 434.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.2341, allocations: 8 kB / 434.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2342, allocations: 8 kB / 434.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2343, allocations: 19.97 kB / 434.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/0.2353, allocations: 433.1 kB / 435 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007587/0.2361, allocations: 0.594 MB / 435.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001813/0.2362, allocations: 107.9 kB / 435.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.2364, allocations: 219.2 kB / 435.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Backend: time 2.4e-07/0.2365, allocations: 0 / 435.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.2372, allocations: 327.3 kB / 436.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of SimCode: time 0.00228/0.2395, allocations: 2.015 MB / 438.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of Templates: time 0.009324/0.2489, allocations: 4.769 MB / 443 MB, free: 15.65 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches