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.002366/0.002371, allocations: 182.2 kB / 16.4 MB, free: 5.754 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.226/2.226, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00155/0.00155, allocations: 89.25 kB / 270.9 MB, free: 8.367 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.5706/0.5706, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004781, allocations: 8 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008758/0.1419, allocations: 4.696 MB / 494.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005761/0.1478, allocations: 2.211 MB / 497.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.1492, allocations: 39.75 kB / 497.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008942/0.1501, allocations: 166.8 kB / 497.3 MB, free: 4.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1517, allocations: 322.9 kB / 497.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1537, allocations: 403.2 kB / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.1559, allocations: 0.7333 MB / 498.8 MB, free: 2.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.1571, allocations: 421.9 kB / 499.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007445/0.1579, allocations: 254.9 kB / 499.4 MB, free: 1.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006503/0.1586, allocations: 286.4 kB / 499.7 MB, free: 1.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.1588, allocations: 32 kB / 499.7 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.1592, allocations: 75.91 kB / 499.8 MB, free: 1.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.1594, allocations: 139.4 kB / 499.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.1598, allocations: 185.2 kB / 0.4884 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.1614, allocations: 0.9274 MB / 0.4893 GB, free: 328 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1614, allocations: 0 / 0.4893 GB, free: 328 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1614, allocations: 0 / 0.4893 GB, free: 328 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.1615, allocations: 0 / 0.4893 GB, free: 328 kB / 378.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.3221/0.4836, allocations: 0.9649 MB / 0.4902 GB, free: 43.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4836, allocations: 8.312 kB / 0.4903 GB, free: 43.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.4839, allocations: 100.8 kB / 0.4904 GB, free: 43.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.4851, allocations: 0.5446 MB / 0.4909 GB, free: 42.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/0.4852, allocations: 68.12 kB / 0.4909 GB, free: 42.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.4854, allocations: 92.34 kB / 0.491 GB, free: 42.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.488, allocations: 0.8793 MB / 0.4919 GB, free: 42.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.849e-05/0.4881, allocations: 10.31 kB / 0.4919 GB, free: 42.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.4883, allocations: 37.53 kB / 0.4919 GB, free: 42.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.4883, allocations: 21.94 kB / 0.492 GB, free: 42.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.4901, allocations: 0.5273 MB / 0.4925 GB, free: 42.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005847/0.496, allocations: 3.65 MB / 0.496 GB, free: 40.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.497, allocations: 223.8 kB / 0.4963 GB, free: 40.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.4972, allocations: 247.2 kB / 0.4965 GB, free: 40.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4973, allocations: 36.64 kB / 0.4965 GB, free: 40.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.507e-06/0.4973, allocations: 0 / 0.4965 GB, free: 40.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.003583/0.5009, allocations: 1.302 MB / 0.4978 GB, free: 39.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.501, allocations: 54.86 kB / 0.4979 GB, free: 39.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.5017, allocations: 405.4 kB / 0.4982 GB, free: 39.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.5018, allocations: 33.05 kB / 0.4983 GB, free: 39.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.5021, allocations: 0.4987 MB / 0.4988 GB, free: 38.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5023, allocations: 136.8 kB / 0.4989 GB, free: 38.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.5023, allocations: 11.28 kB / 0.4989 GB, free: 38.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.5024, allocations: 337.6 kB / 0.4992 GB, free: 38.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.5028, allocations: 110.8 kB / 0.4993 GB, free: 38.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.5032, allocations: 306.4 kB / 0.4996 GB, free: 38.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.5037, allocations: 164.9 kB / 0.4998 GB, free: 38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5037, allocations: 2.656 kB / 0.4998 GB, free: 38 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001214/0.5049, allocations: 493.1 kB / 0.5002 GB, free: 37.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.505, allocations: 11.53 kB / 0.5003 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.505, allocations: 9.188 kB / 0.5003 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.5053, allocations: 36.17 kB / 0.5003 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.5061, allocations: 127.8 kB / 0.5004 GB, free: 37.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004299/0.5065, allocations: 0.5545 MB / 0.501 GB, free: 37.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.5069, allocations: 30.95 kB / 0.501 GB, free: 37.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.507, allocations: 30.06 kB / 0.501 GB, free: 37.2 MB / 378.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.0004924/0.5075, allocations: 233.2 kB / 0.5012 GB, free: 37.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5076, allocations: 50.72 kB / 0.5013 GB, free: 36.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/0.5086, allocations: 332.1 kB / 0.5016 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5086, allocations: 4.125 kB / 0.5016 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5086, allocations: 0 / 0.5016 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.5087, allocations: 3.016 kB / 0.5016 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.511, allocations: 1.058 MB / 0.5027 GB, free: 36.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.511, allocations: 3.062 kB / 0.5027 GB, free: 36.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.5118, allocations: 84.7 kB / 0.5027 GB, free: 36.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.512, allocations: 29.39 kB / 0.5028 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.5121, allocations: 10.38 kB / 0.5028 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003487/0.5124, allocations: 0.5599 MB / 0.5033 GB, free: 35.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5124, allocations: 5.984 kB / 0.5033 GB, free: 35.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.5137, allocations: 0.6224 MB / 0.5039 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.5139, allocations: 112.3 kB / 0.504 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.514, allocations: 11.33 kB / 0.5041 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.5143, allocations: 10.41 kB / 0.5041 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.5144, allocations: 29.03 kB / 0.5041 GB, free: 35.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.5145, allocations: 12.16 kB / 0.5041 GB, free: 35.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004079/0.5149, allocations: 265.7 kB / 0.5044 GB, free: 34.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5149, allocations: 0 / 0.5044 GB, free: 34.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008268/0.5157, allocations: 130.6 kB / 0.5045 GB, free: 34.89 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.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.000212/0.516, allocations: 124.7 kB / 0.5046 GB, free: 34.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009886/0.517, allocations: 338.5 kB / 0.5049 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.517, allocations: 0 / 0.5049 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.5174, allocations: 141.4 kB / 0.5051 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.5181, allocations: 69.98 kB / 0.5051 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.522, allocations: 2.098 MB / 0.5072 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.5226, allocations: 0.9757 MB / 0.5081 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.5228, allocations: 48.41 kB / 0.5082 GB, free: 32.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5228, allocations: 0 / 0.5082 GB, free: 32.43 MB / 378.7 MB Notification: Performance of Templates: time 0.0213/0.5441, allocations: 10.6 MB / 0.5185 GB, free: 31.58 MB / 378.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