Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 116 kB / 17.75 MB, free: 5.223 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.001032/0.001032, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009663/0.0009663, allocations: 43.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2119, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006314/0.2182, allocations: 5.427 MB / 406.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.2215, allocations: 2.075 MB / 408.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006294/0.2222, allocations: 39.75 kB / 409 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.2227, allocations: 206.2 kB / 409.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.2232, allocations: 178.4 kB / 409.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.224, allocations: 387.1 kB / 409.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000995/0.225, allocations: 1.025 MB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000784/0.2258, allocations: 0.6065 MB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.2262, allocations: 346.8 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.2266, allocations: 366.3 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.2268, allocations: 92 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.227, allocations: 147.9 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.2272, allocations: 203.4 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.2276, allocations: 434 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009912/0.2286, allocations: 1.173 MB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2286, allocations: 4 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2286, allocations: 0 / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.2286, allocations: 0 / 414.1 MB, free: 12.12 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.001417/0.23, allocations: 1.033 MB / 415.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2301, allocations: 8.031 kB / 415.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2302, allocations: 87.91 kB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.2309, allocations: 0.5219 MB / 415.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.231, allocations: 70.38 kB / 415.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2311, allocations: 84.38 kB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.2325, allocations: 0.8047 MB / 416.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.2325, allocations: 11.91 kB / 416.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.2326, allocations: 36 kB / 416.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.2326, allocations: 20 kB / 416.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.2336, allocations: 0.4918 MB / 417.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.2366, allocations: 2.856 MB / 420.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.2371, allocations: 224.4 kB / 420.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2373, allocations: 117.1 kB / 420.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.2375, allocations: 251.3 kB / 420.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2376, allocations: 38.56 kB / 420.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.2376, allocations: 0 / 420.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002276/0.2399, allocations: 1.253 MB / 422 MB, free: 3.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2399, allocations: 55.41 kB / 422 MB, free: 3.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.2402, allocations: 308.5 kB / 422.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2402, allocations: 33.7 kB / 422.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.2405, allocations: 398.5 kB / 422.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/0.2406, allocations: 134.1 kB / 422.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2407, allocations: 86.16 kB / 422.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2408, allocations: 358.7 kB / 423.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.241, allocations: 105.1 kB / 423.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.2413, allocations: 250.7 kB / 423.6 MB, free: 2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.2418, allocations: 392.9 kB / 424 MB, free: 1.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2418, allocations: 0 / 424 MB, free: 1.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007251/0.2426, allocations: 464.9 kB / 424.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2426, allocations: 8 kB / 424.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2426, allocations: 4 kB / 424.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.2428, allocations: 32.84 kB / 424.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.2431, allocations: 112.4 kB / 424.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/0.2435, allocations: 0.5562 MB / 425.2 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2437, allocations: 19.98 kB / 425.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.2438, allocations: 20 kB / 425.2 MB, free: 320 kB / 334.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.000237/0.244, allocations: 225.6 kB / 425.5 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.2441, allocations: 39.53 kB / 425.5 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.2447, allocations: 328.6 kB / 425.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2447, allocations: 0 / 425.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2447, allocations: 0 / 425.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.2448, allocations: 108.6 kB / 425.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.2448, allocations: 12 kB / 425.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.245, allocations: 4 kB / 425.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.2451, allocations: 19.97 kB / 426 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008908/0.246, allocations: 417.8 kB / 426.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007423/0.2467, allocations: 0.5932 MB / 427 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002064/0.2469, allocations: 124.3 kB / 427.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.2471, allocations: 203.1 kB / 427.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Backend: time 7.11e-07/0.2471, allocations: 0 / 427.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.2479, allocations: 335 kB / 427.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 0.002334/0.2503, allocations: 1.999 MB / 429.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Templates: time 0.009543/0.2598, allocations: 4.734 MB / 434.3 MB, free: 7.129 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches