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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 196.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007479/0.0007477, allocations: 91.91 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002212/0.0002212, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1971, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09696/0.2941, allocations: 83.11 MB / 492.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.2944, allocations: 67.97 kB / 492.6 MB, free: 8.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03042/0.3248, allocations: 12.06 MB / 0.4928 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3249, allocations: 0 / 0.4928 GB, free: 12.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.708e-05/0.3249, allocations: 20 kB / 0.4928 GB, free: 12.26 MB / 378.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.001909/0.3269, allocations: 0.8798 MB / 0.4937 GB, free: 11.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3269, allocations: 8.031 kB / 0.4937 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.3273, allocations: 103.9 kB / 0.4938 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.3281, allocations: 0.5063 MB / 0.4943 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.3282, allocations: 66.36 kB / 0.4943 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.3283, allocations: 84.38 kB / 0.4944 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.3299, allocations: 0.7972 MB / 0.4952 GB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.3299, allocations: 12.02 kB / 0.4952 GB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.33, allocations: 39.94 kB / 0.4952 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.33, allocations: 28 kB / 0.4953 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3311, allocations: 491.6 kB / 0.4957 GB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.3347, allocations: 2.899 MB / 0.4986 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.3355, allocations: 230 kB / 0.4988 GB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.3358, allocations: 104.8 kB / 0.4989 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.3361, allocations: 251.3 kB / 0.4991 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/0.3362, allocations: 38.97 kB / 0.4992 GB, free: 5.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.416e-06/0.3362, allocations: 4 kB / 0.4992 GB, free: 5.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.0035/0.3397, allocations: 1.258 MB / 0.5004 GB, free: 4.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3397, allocations: 55.41 kB / 0.5004 GB, free: 3.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.3403, allocations: 296.6 kB / 0.5007 GB, free: 3.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3403, allocations: 29.7 kB / 0.5008 GB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.3407, allocations: 406.4 kB / 0.5011 GB, free: 3.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.3408, allocations: 134.1 kB / 0.5013 GB, free: 3.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.3409, allocations: 8 kB / 0.5013 GB, free: 3.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3411, allocations: 354.7 kB / 0.5016 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.3414, allocations: 109.1 kB / 0.5017 GB, free: 2.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.3419, allocations: 254.7 kB / 0.502 GB, free: 2.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.3427, allocations: 396.8 kB / 0.5023 GB, free: 1.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3427, allocations: 0 / 0.5023 GB, free: 1.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001142/0.3439, allocations: 457.3 kB / 0.5028 GB, free: 1.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3439, allocations: 4 kB / 0.5028 GB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.344, allocations: 8 kB / 0.5028 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.3442, allocations: 40.78 kB / 0.5028 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.3448, allocations: 103.9 kB / 0.5029 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005273/0.3453, allocations: 0.5605 MB / 0.5035 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.3457, allocations: 19.98 kB / 0.5035 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.3458, allocations: 20 kB / 0.5035 GB, free: 0.6641 MB / 378.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.0004888/0.3463, allocations: 221.6 kB / 0.5037 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3464, allocations: 35.53 kB / 0.5038 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.3473, allocations: 335.4 kB / 0.5041 GB, free: 64 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3473, allocations: 4 kB / 0.5041 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3473, allocations: 0 / 0.5041 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3473, allocations: 0 / 0.5041 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2016/0.549, allocations: 1.018 MB / 0.5051 GB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.549, allocations: 3.5 kB / 0.5051 GB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.5494, allocations: 81.66 kB / 0.5052 GB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.5495, allocations: 31.8 kB / 0.5052 GB, free: 91.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5496, allocations: 11 kB / 0.5052 GB, free: 91.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000213/0.5498, allocations: 0.5498 MB / 0.5057 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.5498, allocations: 5.938 kB / 0.5057 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.5505, allocations: 0.5444 MB / 0.5063 GB, free: 90.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.5506, allocations: 117.2 kB / 0.5064 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.5506, allocations: 11.05 kB / 0.5064 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5508, allocations: 8.453 kB / 0.5064 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.5509, allocations: 27.97 kB / 0.5064 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.5509, allocations: 14.25 kB / 0.5064 GB, free: 90.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.5511, allocations: 208.9 kB / 0.5066 GB, free: 90.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5511, allocations: 0 / 0.5066 GB, free: 90.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.5516, allocations: 125.4 kB / 0.5068 GB, free: 90.55 MB / 378.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.0001547/0.5518, allocations: 130.3 kB / 0.5069 GB, free: 90.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.5523, allocations: 309.5 kB / 0.5072 GB, free: 90.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5524, allocations: 0 / 0.5072 GB, free: 90.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.5526, allocations: 141.5 kB / 0.5073 GB, free: 90.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.5531, allocations: 69.64 kB / 0.5074 GB, free: 90.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5553, allocations: 2.002 MB / 0.5093 GB, free: 89.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.5557, allocations: 0.9229 MB / 0.5102 GB, free: 88.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.5559, allocations: 47.44 kB / 0.5103 GB, free: 88.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.556, allocations: 31.53 kB / 0.5103 GB, free: 88.53 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.556, allocations: 5.281 kB / 0.5103 GB, free: 88.52 MB / 378.7 MB Notification: Performance of Templates: time 0.007156/0.5631, allocations: 3.474 MB / 0.5137 GB, free: 88.29 MB / 378.7 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","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches