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.001565/0.001565, allocations: 116.1 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2078, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006253/0.214, allocations: 5.433 MB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.2174, allocations: 2.138 MB / 417.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006167/0.218, allocations: 39.81 kB / 417.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.2185, allocations: 206.2 kB / 417.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.219, allocations: 174.5 kB / 417.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008827/0.2199, allocations: 399 kB / 418.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2209, allocations: 1.025 MB / 419.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007915/0.2217, allocations: 0.6104 MB / 419.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.2222, allocations: 346.8 kB / 420.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.2226, allocations: 366.2 kB / 420.6 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.2227, allocations: 96 kB / 420.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.223, allocations: 151.9 kB / 420.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.2231, allocations: 203.4 kB / 421.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.2235, allocations: 430 kB / 421.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2245, allocations: 1.192 MB / 422.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2246, allocations: 0 / 422.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2246, allocations: 0 / 422.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.2246, allocations: 0 / 422.7 MB, free: 4.762 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.001408/0.226, allocations: 1.036 MB / 423.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.226, allocations: 8.031 kB / 423.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.2263, allocations: 99.8 kB / 423.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.227, allocations: 0.5259 MB / 424.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.2271, allocations: 62.38 kB / 424.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.2272, allocations: 92.22 kB / 424.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2286, allocations: 0.8047 MB / 425.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.2286, allocations: 7.984 kB / 425.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.2287, allocations: 43.98 kB / 425.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.2287, allocations: 20 kB / 425.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.2297, allocations: 499.6 kB / 425.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.2327, allocations: 2.86 MB / 428.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.2332, allocations: 226.6 kB / 429 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2334, allocations: 104.8 kB / 429.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.2336, allocations: 247.3 kB / 429.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2336, allocations: 39.05 kB / 429.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.2336, allocations: 0 / 429.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002262/0.2359, allocations: 1.253 MB / 430.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2359, allocations: 55.41 kB / 430.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2363, allocations: 317.6 kB / 431 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2363, allocations: 29.7 kB / 431 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.2365, allocations: 410.5 kB / 431.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.2366, allocations: 134 kB / 431.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.2368, allocations: 86.19 kB / 431.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2369, allocations: 354.7 kB / 431.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2371, allocations: 105.1 kB / 432 MB, free: 10.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2375, allocations: 246.7 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.238, allocations: 396.7 kB / 432.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.238, allocations: 7.938 kB / 432.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007044/0.2387, allocations: 453.3 kB / 433.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2387, allocations: 11.12 kB / 433.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2388, allocations: 4 kB / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.2389, allocations: 40.83 kB / 433.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.2393, allocations: 107.8 kB / 433.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003672/0.2397, allocations: 0.5605 MB / 433.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2399, allocations: 16 kB / 433.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.2399, allocations: 24 kB / 433.9 MB, free: 8.922 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.0002462/0.2402, allocations: 220.6 kB / 434.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2402, allocations: 31.62 kB / 434.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.2408, allocations: 330.2 kB / 434.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.2409, allocations: 3.984 kB / 434.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2409, allocations: 3.938 kB / 434.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.241, allocations: 104.7 kB / 434.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.241, allocations: 4 kB / 434.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2412, allocations: 11.98 kB / 434.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.2412, allocations: 23.97 kB / 434.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008969/0.2421, allocations: 425.1 kB / 435 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007619/0.2429, allocations: 0.6013 MB / 435.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001843/0.2431, allocations: 107.9 kB / 435.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.2433, allocations: 215.2 kB / 435.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.2433, allocations: 0 / 435.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.2441, allocations: 331.2 kB / 436.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 0.002388/0.2465, allocations: 2.019 MB / 438.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Templates: time 0.009938/0.2564, allocations: 4.764 MB / 443 MB, free: 15.67 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