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.001471/0.001471, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.926/1.926, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001126/0.001125, allocations: 97.08 kB / 270.9 MB, free: 8.398 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.505/0.505, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006306/0.0006306, allocations: 12 kB / 431.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1364, allocations: 58.84 MB / 490.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6313, allocations: 92.58 MB / 0.5691 GB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.6316, allocations: 71.97 kB / 0.5692 GB, free: 10.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05336/0.6849, allocations: 13.72 MB / 0.5826 GB, free: 12.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.685, allocations: 0 / 0.5826 GB, free: 12.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.858e-05/0.6851, allocations: 24 kB / 0.5826 GB, free: 12.35 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.002288/0.6874, allocations: 0.9607 MB / 0.5836 GB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6875, allocations: 11.97 kB / 0.5836 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.6877, allocations: 102.8 kB / 0.5837 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.689, allocations: 0.5413 MB / 0.5842 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.6891, allocations: 66 kB / 0.5843 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.6893, allocations: 96.94 kB / 0.5844 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.6918, allocations: 0.8775 MB / 0.5852 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.6919, allocations: 11.83 kB / 0.5852 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.692, allocations: 47.94 kB / 0.5853 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.6921, allocations: 20 kB / 0.5853 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.6939, allocations: 0.519 MB / 0.5858 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.6997, allocations: 3.636 MB / 0.5893 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.7007, allocations: 224.3 kB / 0.5896 GB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.701, allocations: 247.3 kB / 0.5898 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.701, allocations: 44.81 kB / 0.5898 GB, free: 4.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.926e-06/0.701, allocations: 0 / 0.5898 GB, free: 4.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.003646/0.7047, allocations: 1.309 MB / 0.5911 GB, free: 3.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.7048, allocations: 55.41 kB / 0.5912 GB, free: 3.102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.7054, allocations: 349 kB / 0.5915 GB, free: 2.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.7054, allocations: 29.7 kB / 0.5915 GB, free: 2.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.7058, allocations: 0.4967 MB / 0.592 GB, free: 2.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.706, allocations: 138 kB / 0.5921 GB, free: 2.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.706, allocations: 12 kB / 0.5922 GB, free: 2.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7062, allocations: 330.8 kB / 0.5925 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.7066, allocations: 121.1 kB / 0.5926 GB, free: 1.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.7071, allocations: 298.2 kB / 0.5929 GB, free: 1.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.7075, allocations: 163.9 kB / 0.593 GB, free: 1.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7076, allocations: 0 / 0.593 GB, free: 1.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001245/0.7088, allocations: 0.4901 MB / 0.5935 GB, free: 0.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.7089, allocations: 8 kB / 0.5935 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.7089, allocations: 8 kB / 0.5935 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.7092, allocations: 37.59 kB / 0.5936 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.7099, allocations: 131.8 kB / 0.5937 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005045/0.7105, allocations: 0.5524 MB / 0.5942 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.7109, allocations: 16 kB / 0.5942 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.711, allocations: 27.94 kB / 0.5943 GB, free: 15.77 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.0005366/0.7115, allocations: 245.9 kB / 0.5945 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.7116, allocations: 47.5 kB / 0.5945 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009809/0.7126, allocations: 334.8 kB / 0.5949 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.7127, allocations: 4 kB / 0.5949 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7127, allocations: 0 / 0.5949 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.7127, allocations: 3.984 kB / 0.5949 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.715, allocations: 1.064 MB / 0.5959 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.715, allocations: 8.031 kB / 0.5959 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/0.7158, allocations: 87.84 kB / 0.596 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.716, allocations: 32.78 kB / 0.596 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.7161, allocations: 8 kB / 0.596 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000423/0.7165, allocations: 0.5407 MB / 0.5966 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7165, allocations: 4.031 kB / 0.5966 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.7178, allocations: 0.6268 MB / 0.5972 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.718, allocations: 120.4 kB / 0.5973 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.7181, allocations: 8 kB / 0.5973 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.7183, allocations: 11.98 kB / 0.5973 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.7184, allocations: 32 kB / 0.5973 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.7185, allocations: 8 kB / 0.5974 GB, free: 12.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004799/0.719, allocations: 271.1 kB / 0.5976 GB, free: 12.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.719, allocations: 0 / 0.5976 GB, free: 12.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007732/0.7198, allocations: 135.9 kB / 0.5977 GB, free: 12 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.0002178/0.72, allocations: 126.3 kB / 0.5979 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009989/0.721, allocations: 325 kB / 0.5982 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.721, allocations: 0 / 0.5982 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.7215, allocations: 148.3 kB / 0.5983 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.7221, allocations: 67.44 kB / 0.5984 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.7264, allocations: 2.1 MB / 0.6004 GB, free: 9.195 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.7272, allocations: 0.9756 MB / 0.6014 GB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.7274, allocations: 47.42 kB / 0.6014 GB, free: 8.148 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7274, allocations: 0 / 0.6014 GB, free: 8.148 MB / 426.7 MB Notification: Performance of Templates: time 0.02191/0.7493, allocations: 10.61 MB / 0.6118 GB, free: 13.54 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