Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001548, allocations: 186.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 101.8 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3394, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4706, allocations: 81.55 MB / 456.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.471, allocations: 83.95 kB / 456.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04652/0.5175, allocations: 11.72 MB / 467.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5176, allocations: 0 / 467.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.671e-05/0.5176, allocations: 27.98 kB / 467.9 MB, free: 3.363 MB / 346.7 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.001861/0.5195, allocations: 0.8735 MB / 468.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5196, allocations: 8.031 kB / 468.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.5198, allocations: 94.91 kB / 468.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.5209, allocations: 0.4897 MB / 469.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.521, allocations: 65.98 kB / 469.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.5212, allocations: 87.91 kB / 469.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.5233, allocations: 0.7927 MB / 470.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.5234, allocations: 11.84 kB / 470.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5235, allocations: 36 kB / 470.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.5235, allocations: 20 kB / 470.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.525, allocations: 495.6 kB / 470.9 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.5299, allocations: 2.896 MB / 473.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.5307, allocations: 223.8 kB / 474 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.5309, allocations: 255.3 kB / 474.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.531, allocations: 34.56 kB / 474.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.306e-06/0.531, allocations: 0 / 474.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.003503/0.5345, allocations: 1.264 MB / 475.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.5346, allocations: 59.39 kB / 475.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.535, allocations: 267.6 kB / 475.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.535, allocations: 29.7 kB / 475.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.5354, allocations: 445 kB / 476.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.5355, allocations: 134.1 kB / 476.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.5356, allocations: 12 kB / 476.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5357, allocations: 330.8 kB / 476.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.5361, allocations: 105.1 kB / 476.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.5365, allocations: 254.6 kB / 477.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.537, allocations: 159.5 kB / 477.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.537, allocations: 7.875 kB / 477.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001072/0.5381, allocations: 429.6 kB / 477.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5381, allocations: 8.938 kB / 477.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5381, allocations: 8.578 kB / 477.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.5384, allocations: 44.83 kB / 477.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.5391, allocations: 111.8 kB / 477.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000443/0.5395, allocations: 0.5485 MB / 478.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.5398, allocations: 19.95 kB / 478.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.5399, allocations: 20 kB / 478.5 MB, free: 8.234 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004403/0.5404, allocations: 222.6 kB / 478.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.5405, allocations: 43.53 kB / 478.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000924/0.5414, allocations: 318.2 kB / 479 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5414, allocations: 4.047 kB / 479 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5414, allocations: 7.938 kB / 479.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.5415, allocations: 11.98 kB / 479.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.5435, allocations: 1.022 MB / 480.1 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5435, allocations: 0 / 480.1 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/0.5443, allocations: 75.91 kB / 480.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.5445, allocations: 32.83 kB / 480.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.5445, allocations: 12 kB / 480.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004109/0.5449, allocations: 0.5563 MB / 480.8 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.545, allocations: 4.062 kB / 480.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.5462, allocations: 0.6073 MB / 481.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.5463, allocations: 104.6 kB / 481.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.5463, allocations: 12 kB / 481.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.5466, allocations: 15.98 kB / 481.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.5467, allocations: 23.92 kB / 481.5 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.5467, allocations: 16 kB / 481.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002973/0.547, allocations: 203.2 kB / 481.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5471, allocations: 7.938 kB / 481.8 MB, free: 4.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006874/0.5478, allocations: 120 kB / 481.9 MB, free: 4.625 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.548, allocations: 130.7 kB / 482 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008914/0.5489, allocations: 316.3 kB / 482.3 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5489, allocations: 0 / 482.3 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.5493, allocations: 141.2 kB / 482.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.5499, allocations: 57.53 kB / 482.5 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.5538, allocations: 2.05 MB / 484.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.5545, allocations: 0.9444 MB / 485.5 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.5547, allocations: 31.44 kB / 485.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5547, allocations: 0 / 485.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of Templates: time 0.01727/0.5719, allocations: 9.24 MB / 494.8 MB, free: 7.656 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches