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: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 110.5 kB / 18.45 MB, free: 4.594 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.002064/0.002064, allocations: 183.2 kB / 19.38 MB, free: 3.672 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.359/1.359, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2109/0.2109, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3114, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00335/0.3148, allocations: 3.062 MB / 0.5226 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.3154, allocations: 422.7 kB / 0.523 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3156, allocations: 7.188 kB / 0.523 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3157, allocations: 69.72 kB / 0.523 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.316, allocations: 170 kB / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.3162, allocations: 99.12 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.3166, allocations: 0.5382 MB / 0.5238 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.3169, allocations: 163.1 kB / 0.524 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3171, allocations: 209 kB / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.3173, allocations: 218.6 kB / 0.5244 GB, free: 332 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.3174, allocations: 39.66 kB / 0.5244 GB, free: 332 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.3175, allocations: 40.41 kB / 0.5244 GB, free: 332 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.3175, allocations: 92.19 kB / 0.5245 GB, free: 268 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.3177, allocations: 250.8 kB / 0.5248 GB, free: 124 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.3183, allocations: 0.5228 MB / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3183, allocations: 0 / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3183, allocations: 1.344 kB / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3183, allocations: 0 / 0.5253 GB, free: 15.91 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.0009478/0.3193, allocations: 0.7272 MB / 0.526 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3193, allocations: 10.88 kB / 0.526 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.3194, allocations: 55.95 kB / 0.5261 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3197, allocations: 295 kB / 0.5263 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.3197, allocations: 32.62 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/0.3198, allocations: 60.58 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.3205, allocations: 462.5 kB / 0.5269 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.3205, allocations: 7.922 kB / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.3206, allocations: 26 kB / 0.5269 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3206, allocations: 12.38 kB / 0.5269 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.321, allocations: 253.7 kB / 0.5272 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.3232, allocations: 1.693 MB / 0.5288 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.3239, allocations: 426.5 kB / 0.5292 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.3241, allocations: 154.8 kB / 0.5294 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3242, allocations: 9.5 kB / 0.5294 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.3242, allocations: 50.61 kB / 0.5294 GB, free: 12.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.3242, allocations: 1.375 kB / 0.5294 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007933/0.325, allocations: 348.5 kB / 0.5298 GB, free: 12.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.3252, allocations: 277.5 kB / 0.53 GB, free: 12.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3255, allocations: 251.4 kB / 0.5303 GB, free: 12.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.3255, allocations: 32.36 kB / 0.5303 GB, free: 11.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.3258, allocations: 249.5 kB / 0.5305 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3259, allocations: 192.2 kB / 0.5307 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.326, allocations: 115.7 kB / 0.5308 GB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3262, allocations: 351.3 kB / 0.5312 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3264, allocations: 118.4 kB / 0.5313 GB, free: 11.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.3268, allocations: 425.8 kB / 0.5317 GB, free: 10.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.3276, allocations: 0.5699 MB / 0.5322 GB, free: 10.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.3276, allocations: 4.406 kB / 0.5322 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008058/0.3285, allocations: 0.5708 MB / 0.5328 GB, free: 9.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3285, allocations: 8.875 kB / 0.5328 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3285, allocations: 10.19 kB / 0.5328 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.3285, allocations: 14.88 kB / 0.5328 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.3291, allocations: 180.8 kB / 0.533 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/0.3292, allocations: 21.06 kB / 0.533 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.3296, allocations: 63.27 kB / 0.5331 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.3297, allocations: 36.34 kB / 0.5331 GB, free: 9.699 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.0001923/0.3299, allocations: 191 kB / 0.5333 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.3301, allocations: 34.56 kB / 0.5333 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.3301, allocations: 42.98 kB / 0.5334 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3302, allocations: 2.656 kB / 0.5334 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.3302, allocations: 5.188 kB / 0.5334 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.3303, allocations: 127.8 kB / 0.5335 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.3303, allocations: 14.75 kB / 0.5335 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.3307, allocations: 6.906 kB / 0.5335 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3308, allocations: 29.59 kB / 0.5336 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001317/0.3321, allocations: 1.077 MB / 0.5346 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001019/0.3332, allocations: 1.232 MB / 0.5358 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001878/0.3334, allocations: 123.1 kB / 0.5359 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.3335, allocations: 173.6 kB / 0.5361 GB, free: 7.203 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3335, allocations: 0 / 0.5361 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3349, allocations: 357.6 kB / 0.5364 GB, free: 7.012 MB / 398.1 MB Notification: Performance of SimCode: time 0.003271/0.3381, allocations: 2.454 MB / 0.5388 GB, free: 4.945 MB / 398.1 MB Notification: Performance of Templates: time 0.008936/0.3471, allocations: 4.705 MB / 0.5434 GB, free: 2.637 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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