Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.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="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.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="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001058, allocations: 196.4 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008643/0.0008644, allocations: 92.09 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1956/0.1956, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.781e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 63.23 MB / 0.5113 GB, free: 6.824 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5669, allocations: 94.59 MB / 0.6037 GB, free: 15.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5672, allocations: 67.78 kB / 0.6038 GB, free: 15.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03662/0.6039, allocations: 13.98 MB / 0.6174 GB, free: 3.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6039, allocations: 0 / 0.6174 GB, free: 3.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001101/0.6041, allocations: 32.14 kB / 0.6175 GB, free: 3.785 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002286/0.6064, allocations: 0.9005 MB / 0.6183 GB, free: 2.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.6064, allocations: 15.97 kB / 0.6184 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.6069, allocations: 118.6 kB / 0.6185 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.6081, allocations: 0.5437 MB / 0.619 GB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.6082, allocations: 66.25 kB / 0.6191 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.6084, allocations: 95.72 kB / 0.6192 GB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6103, allocations: 0.858 MB / 0.62 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.618e-05/0.6104, allocations: 11.38 kB / 0.62 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.6105, allocations: 40.14 kB / 0.62 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.6105, allocations: 24 kB / 0.6201 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.6117, allocations: 493.7 kB / 0.6205 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.6161, allocations: 3.645 MB / 0.6241 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.6167, allocations: 214.9 kB / 0.6243 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.6169, allocations: 91.42 kB / 0.6244 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.6172, allocations: 249.9 kB / 0.6246 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.6172, allocations: 37.62 kB / 0.6247 GB, free: 13.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.416e-06/0.6173, allocations: 3.938 kB / 0.6247 GB, free: 13.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002389/0.6196, allocations: 1.186 MB / 0.6258 GB, free: 12.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.6197, allocations: 59.41 kB / 0.6259 GB, free: 12.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.6202, allocations: 347.7 kB / 0.6262 GB, free: 11.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.6202, allocations: 29.58 kB / 0.6262 GB, free: 11.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.6205, allocations: 464.8 kB / 0.6267 GB, free: 11.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6206, allocations: 134.6 kB / 0.6268 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.6206, allocations: 9.75 kB / 0.6268 GB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6208, allocations: 361 kB / 0.6272 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.621, allocations: 100.6 kB / 0.6273 GB, free: 10.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.6213, allocations: 303.8 kB / 0.6276 GB, free: 10.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.6216, allocations: 149 kB / 0.6277 GB, free: 10.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6216, allocations: 4 kB / 0.6277 GB, free: 10.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008028/0.6224, allocations: 0.4986 MB / 0.6282 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.6224, allocations: 8 kB / 0.6282 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6224, allocations: 4 kB / 0.6282 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.6227, allocations: 39.78 kB / 0.6282 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.6231, allocations: 126.9 kB / 0.6284 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004419/0.6235, allocations: 0.5566 MB / 0.6289 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.6238, allocations: 26.09 kB / 0.6289 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.6239, allocations: 23.38 kB / 0.6289 GB, free: 9.375 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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.0001382/0.624, allocations: 145 kB / 0.6291 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.6241, allocations: 51.33 kB / 0.6291 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.6247, allocations: 308 kB / 0.6294 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.6248, allocations: 8 kB / 0.6294 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6248, allocations: 0 / 0.6294 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6248, allocations: 3.984 kB / 0.6294 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.6264, allocations: 1.057 MB / 0.6305 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.6264, allocations: 3.953 kB / 0.6305 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.6268, allocations: 83.33 kB / 0.6306 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/0.6269, allocations: 35.09 kB / 0.6306 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.627, allocations: 7.312 kB / 0.6306 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003441/0.6273, allocations: 0.5482 MB / 0.6311 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6274, allocations: 4.188 kB / 0.6311 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.6283, allocations: 0.5962 MB / 0.6317 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.6284, allocations: 116.5 kB / 0.6318 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.6285, allocations: 10.81 kB / 0.6318 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.6287, allocations: 7.188 kB / 0.6318 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.6288, allocations: 31.38 kB / 0.6319 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.6288, allocations: 19.81 kB / 0.6319 GB, free: 6.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003099/0.6291, allocations: 258.1 kB / 0.6321 GB, free: 6.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6291, allocations: 0 / 0.6321 GB, free: 6.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.6298, allocations: 134.8 kB / 0.6323 GB, free: 6.34 MB / 426.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.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete 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.0002092/0.63, allocations: 116.5 kB / 0.6324 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006615/0.6307, allocations: 303.3 kB / 0.6327 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6307, allocations: 0 / 0.6327 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.631, allocations: 133.3 kB / 0.6328 GB, free: 5.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.6315, allocations: 72.67 kB / 0.6329 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.634, allocations: 1.342 MB / 0.6342 GB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/0.6348, allocations: 0.977 MB / 0.6351 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.635, allocations: 58.67 kB / 0.6352 GB, free: 3.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.6351, allocations: 43.42 kB / 0.6352 GB, free: 3.465 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6351, allocations: 0 / 0.6352 GB, free: 3.465 MB / 426.7 MB Notification: Performance of Templates: time 0.01034/0.6455, allocations: 3.844 MB / 0.639 GB, free: 15.66 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches