Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 181.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.565/2.565, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001344/0.001344, allocations: 86.08 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6362/0.6362, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006746/0.000675, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1888, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.6801, allocations: 92.67 MB / 0.5704 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.6804, allocations: 67.97 kB / 0.5705 GB, free: 9.691 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05263/0.7331, allocations: 13.73 MB / 0.5839 GB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.7331, allocations: 0 / 0.5839 GB, free: 11.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.109e-05/0.7332, allocations: 27.98 kB / 0.5839 GB, free: 11.91 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.00155/0.7347, allocations: 0.9492 MB / 0.5848 GB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7348, allocations: 8.031 kB / 0.5848 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.735, allocations: 103.7 kB / 0.5849 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.7358, allocations: 0.5656 MB / 0.5855 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.7358, allocations: 70.38 kB / 0.5856 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.736, allocations: 92.28 kB / 0.5857 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.7377, allocations: 0.8897 MB / 0.5865 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.7378, allocations: 8.078 kB / 0.5865 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-05/0.7379, allocations: 43.94 kB / 0.5866 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.7379, allocations: 20 kB / 0.5866 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.7389, allocations: 0.519 MB / 0.5871 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.7453, allocations: 3.64 MB / 0.5907 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/0.7461, allocations: 223.7 kB / 0.5909 GB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.7464, allocations: 103.1 kB / 0.591 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.7467, allocations: 255.3 kB / 0.5912 GB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.7468, allocations: 38.55 kB / 0.5912 GB, free: 4.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.707e-06/0.7468, allocations: 0 / 0.5912 GB, free: 4.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.004059/0.7509, allocations: 1.311 MB / 0.5925 GB, free: 2.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.751, allocations: 55.41 kB / 0.5926 GB, free: 2.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.7517, allocations: 405.8 kB / 0.593 GB, free: 2.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.7517, allocations: 29.7 kB / 0.593 GB, free: 2.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.7521, allocations: 466.1 kB / 0.5934 GB, free: 1.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.7523, allocations: 134.1 kB / 0.5936 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.7523, allocations: 8 kB / 0.5936 GB, free: 1.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.7525, allocations: 362.8 kB / 0.5939 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.7529, allocations: 113.1 kB / 0.594 GB, free: 1.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.7535, allocations: 310.2 kB / 0.5943 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/0.7544, allocations: 467.7 kB / 0.5948 GB, free: 104 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.7544, allocations: 7.938 kB / 0.5948 GB, free: 96 kB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001417/0.7559, allocations: 0.5055 MB / 0.5953 GB, free: 15.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.7559, allocations: 8 kB / 0.5953 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.756, allocations: 8 kB / 0.5953 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.7563, allocations: 33.53 kB / 0.5953 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.7569, allocations: 139.8 kB / 0.5954 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003961/0.7573, allocations: 0.5524 MB / 0.596 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.7575, allocations: 23.88 kB / 0.596 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.7576, allocations: 31.98 kB / 0.596 GB, free: 14.76 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 () * Number of clocked 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.0005821/0.7582, allocations: 221.7 kB / 0.5963 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.7583, allocations: 59.48 kB / 0.5963 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009953/0.7593, allocations: 328.7 kB / 0.5966 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.7593, allocations: 11.97 kB / 0.5966 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.7594, allocations: 4 kB / 0.5966 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7594, allocations: 3.984 kB / 0.5966 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.7615, allocations: 1.061 MB / 0.5977 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7615, allocations: 4.156 kB / 0.5977 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.7619, allocations: 79.89 kB / 0.5978 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.7621, allocations: 28.84 kB / 0.5978 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.7621, allocations: 12 kB / 0.5978 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003284/0.7624, allocations: 0.5523 MB / 0.5983 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7625, allocations: 0 / 0.5983 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.7632, allocations: 0.5605 MB / 0.5989 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.7634, allocations: 116.5 kB / 0.599 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.7634, allocations: 12 kB / 0.599 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.7636, allocations: 11.98 kB / 0.599 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.7636, allocations: 19.97 kB / 0.599 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.7637, allocations: 12 kB / 0.599 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003068/0.764, allocations: 267.1 kB / 0.5993 GB, free: 11.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.764, allocations: 4 kB / 0.5993 GB, free: 11.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005885/0.7646, allocations: 131.9 kB / 0.5994 GB, free: 11.11 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 () * 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.000183/0.7648, allocations: 134.6 kB / 0.5996 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.7656, allocations: 324.5 kB / 0.5999 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7656, allocations: 4 kB / 0.5999 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.766, allocations: 147.8 kB / 0.6 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/0.767, allocations: 86.27 kB / 0.6001 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.7718, allocations: 2.104 MB / 0.6022 GB, free: 8.262 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.7727, allocations: 0.9561 MB / 0.6031 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.773, allocations: 47.42 kB / 0.6031 GB, free: 7.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/0.773, allocations: 0 / 0.6031 GB, free: 7.23 MB / 426.7 MB Notification: Performance of Templates: time 0.02526/0.7982, allocations: 10.98 MB / 0.6139 GB, free: 12.24 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches