Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 106.4 kB / 17.77 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 187.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 55.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3354, allocations: 60.83 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004288/0.3397, allocations: 3.057 MB / 0.5214 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3411, allocations: 423.2 kB / 0.5218 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.3418, allocations: 7.188 kB / 0.5218 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.3421, allocations: 65.33 kB / 0.5219 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006677/0.3428, allocations: 172.4 kB / 0.522 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.3432, allocations: 96.06 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008197/0.344, allocations: 0.5341 MB / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.3444, allocations: 165.9 kB / 0.5228 GB, free: 212 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.3448, allocations: 206.4 kB / 0.523 GB, free: 120 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.3452, allocations: 217.2 kB / 0.5232 GB, free: 8 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.3453, allocations: 40.84 kB / 0.5232 GB, free: 8 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.3455, allocations: 41.06 kB / 0.5233 GB, free: 8 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.3457, allocations: 95.17 kB / 0.5234 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.3462, allocations: 246.7 kB / 0.5236 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009006/0.3471, allocations: 0.5249 MB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3472, allocations: 0 / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3472, allocations: 4.703 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.3472, allocations: 1.312 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001342/0.3486, allocations: 0.7057 MB / 0.5248 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3486, allocations: 12.2 kB / 0.5248 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.3487, allocations: 91.31 kB / 0.5249 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3488, allocations: 51.16 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3492, allocations: 298.8 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.3493, allocations: 35.88 kB / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.3494, allocations: 53.95 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.3501, allocations: 452.9 kB / 0.5258 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.3502, allocations: 21.55 kB / 0.5258 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.3502, allocations: 20.12 kB / 0.5258 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.3503, allocations: 12.88 kB / 0.5258 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.3507, allocations: 253.9 kB / 0.5261 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.3531, allocations: 1.699 MB / 0.5277 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.3537, allocations: 402.5 kB / 0.5281 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.3539, allocations: 155.4 kB / 0.5283 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3539, allocations: 17.69 kB / 0.5283 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3539, allocations: 43.06 kB / 0.5283 GB, free: 12.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 4.018e-06/0.354, allocations: 0 / 0.5283 GB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007718/0.3547, allocations: 368.4 kB / 0.5287 GB, free: 12.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.3549, allocations: 263.4 kB / 0.5289 GB, free: 11.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.3552, allocations: 251.1 kB / 0.5292 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.3552, allocations: 36.23 kB / 0.5292 GB, free: 11.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3554, allocations: 241.2 kB / 0.5294 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.3555, allocations: 180.3 kB / 0.5296 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3556, allocations: 115.4 kB / 0.5297 GB, free: 11.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3558, allocations: 354.6 kB / 0.53 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.356, allocations: 114.6 kB / 0.5301 GB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3564, allocations: 426.3 kB / 0.5306 GB, free: 10.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.357, allocations: 0.5738 MB / 0.5311 GB, free: 9.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3571, allocations: 2.312 kB / 0.5311 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009078/0.358, allocations: 0.5711 MB / 0.5317 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.358, allocations: 9 kB / 0.5317 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.358, allocations: 10.5 kB / 0.5317 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.3581, allocations: 19 kB / 0.5317 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.3587, allocations: 189.2 kB / 0.5319 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.3587, allocations: 17.97 kB / 0.5319 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.359, allocations: 61.72 kB / 0.532 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.3591, allocations: 36.02 kB / 0.532 GB, free: 9.461 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.3593, allocations: 182.7 kB / 0.5322 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.3595, allocations: 39.34 kB / 0.5322 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.062e-05/0.3596, allocations: 38.42 kB / 0.5323 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3596, allocations: 9.844 kB / 0.5323 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3596, allocations: 6.875 kB / 0.5323 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3597, allocations: 7.016 kB / 0.5323 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3607, allocations: 415.2 kB / 0.5327 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3608, allocations: 2.312 kB / 0.5327 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.3613, allocations: 122.2 kB / 0.5328 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.3613, allocations: 7.594 kB / 0.5328 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.3614, allocations: 11.45 kB / 0.5328 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.3614, allocations: 7.406 kB / 0.5328 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3614, allocations: 7.781 kB / 0.5328 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.3623, allocations: 1.089 MB / 0.5339 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3624, allocations: 111.8 kB / 0.534 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.3625, allocations: 21.48 kB / 0.534 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.3629, allocations: 7.875 kB / 0.534 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.363, allocations: 29.36 kB / 0.534 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.363, allocations: 14.88 kB / 0.5341 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.3632, allocations: 176.9 kB / 0.5342 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3632, allocations: 0 / 0.5342 GB, free: 7.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009014/0.3641, allocations: 140.1 kB / 0.5344 GB, free: 7.629 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/0.3653, allocations: 1.623 MB / 0.5359 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.366, allocations: 348.6 kB / 0.5363 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.366, allocations: 1.188 kB / 0.5363 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.3663, allocations: 130.4 kB / 0.5364 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.3676, allocations: 96.3 kB / 0.5365 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.3746, allocations: 5.593 MB / 0.542 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.3751, allocations: 0.8296 MB / 0.5428 GB, free: 468 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.3754, allocations: 52.41 kB / 0.5428 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.3756, allocations: 139.7 kB / 0.543 GB, free: 324 kB / 398.1 MB Notification: Performance of SimCode: time 2.284e-06/0.3756, allocations: 1.25 kB / 0.543 GB, free: 324 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.41, allocations: 8.426 MB / 0.5512 GB, free: 9.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.613, allocations: 18.03 kB / 0.5512 GB, free: 9.418 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches