Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 170.9 kB / 16.76 MB, free: 5.055 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.592/1.592, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007182/0.0007183, allocations: 93.02 kB / 271.3 MB, free: 8.234 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.3365/0.3365, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003959, allocations: 12 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1118, allocations: 58.86 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4169, allocations: 92.66 MB / 0.5704 GB, free: 9.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4172, allocations: 73.14 kB / 0.5705 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03354/0.4507, allocations: 13.73 MB / 0.5839 GB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4508, allocations: 0 / 0.5839 GB, free: 11.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.78e-05/0.4508, allocations: 27.98 kB / 0.5839 GB, free: 11.48 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.001781/0.4526, allocations: 0.9531 MB / 0.5849 GB, free: 10.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4527, allocations: 8.031 kB / 0.5849 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.4529, allocations: 103.7 kB / 0.585 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008642/0.4538, allocations: 0.5656 MB / 0.5855 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.4539, allocations: 70.38 kB / 0.5856 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.454, allocations: 96.28 kB / 0.5857 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.4555, allocations: 0.8819 MB / 0.5866 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.4556, allocations: 12.09 kB / 0.5866 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.4557, allocations: 39.94 kB / 0.5866 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.4557, allocations: 24 kB / 0.5866 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.4568, allocations: 0.5151 MB / 0.5871 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.4606, allocations: 3.64 MB / 0.5907 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.4612, allocations: 223.8 kB / 0.5909 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.4613, allocations: 107.1 kB / 0.591 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.4616, allocations: 243.3 kB / 0.5912 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.4616, allocations: 38.56 kB / 0.5913 GB, free: 3.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.484e-06/0.4616, allocations: 4 kB / 0.5913 GB, free: 3.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.002248/0.4639, allocations: 1.319 MB / 0.5926 GB, free: 2.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.4639, allocations: 55.41 kB / 0.5926 GB, free: 2.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.4644, allocations: 401.8 kB / 0.593 GB, free: 1.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.4644, allocations: 29.7 kB / 0.593 GB, free: 1.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.4647, allocations: 470.1 kB / 0.5935 GB, free: 1.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.4648, allocations: 134.1 kB / 0.5936 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.4648, allocations: 8 kB / 0.5936 GB, free: 1.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4649, allocations: 362.8 kB / 0.594 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.4651, allocations: 113.1 kB / 0.5941 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.4655, allocations: 310.2 kB / 0.5944 GB, free: 216 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.466, allocations: 463.9 kB / 0.5948 GB, free: 15.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4661, allocations: 7.938 kB / 0.5948 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007675/0.4668, allocations: 0.51 MB / 0.5953 GB, free: 15.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4669, allocations: 8 kB / 0.5953 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4669, allocations: 8 kB / 0.5953 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.4671, allocations: 36.84 kB / 0.5954 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.4674, allocations: 123.8 kB / 0.5955 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003878/0.4678, allocations: 0.5602 MB / 0.596 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.4681, allocations: 32.03 kB / 0.596 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.4681, allocations: 27.98 kB / 0.5961 GB, free: 14.32 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.0003607/0.4685, allocations: 229.6 kB / 0.5963 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.4686, allocations: 47.44 kB / 0.5963 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.4692, allocations: 339.5 kB / 0.5967 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4692, allocations: 3.938 kB / 0.5967 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4692, allocations: 4 kB / 0.5967 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4692, allocations: 0 / 0.5967 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.4708, allocations: 1.061 MB / 0.5977 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4708, allocations: 0 / 0.5977 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.4711, allocations: 79.91 kB / 0.5978 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.4712, allocations: 28.84 kB / 0.5978 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.4713, allocations: 15.98 kB / 0.5978 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003203/0.4716, allocations: 0.5564 MB / 0.5984 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4716, allocations: 0 / 0.5984 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.4724, allocations: 0.5527 MB / 0.5989 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4725, allocations: 120.5 kB / 0.599 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.4725, allocations: 8.188 kB / 0.599 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.4727, allocations: 8 kB / 0.599 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.4728, allocations: 31.91 kB / 0.5991 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.4728, allocations: 16 kB / 0.5991 GB, free: 11.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002852/0.4731, allocations: 267.1 kB / 0.5993 GB, free: 10.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4731, allocations: 0 / 0.5993 GB, free: 10.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.4736, allocations: 131.9 kB / 0.5995 GB, free: 10.67 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.0001974/0.4738, allocations: 126.6 kB / 0.5996 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005956/0.4744, allocations: 336.9 kB / 0.5999 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4744, allocations: 0 / 0.5999 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.4747, allocations: 144 kB / 0.6 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.4753, allocations: 73.95 kB / 0.6001 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.478, allocations: 2.071 MB / 0.6021 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.4786, allocations: 0.9561 MB / 0.6031 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.4788, allocations: 59.3 kB / 0.6031 GB, free: 6.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.4789, allocations: 43.42 kB / 0.6032 GB, free: 6.793 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4789, allocations: 4 kB / 0.6032 GB, free: 6.789 MB / 426.7 MB Notification: Performance of Templates: time 0.009061/0.488, allocations: 3.851 MB / 0.6069 GB, free: 2.953 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches