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.001245/0.001245, allocations: 109.4 kB / 18.45 MB, free: 4.609 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.0009982/0.0009982, allocations: 190.2 kB / 19.38 MB, free: 3.684 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.27/1.27, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2008/0.2008, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.88 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3057, allocations: 60.82 MB / 0.5195 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003387/0.3092, allocations: 3.07 MB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006422/0.3098, allocations: 419.3 kB / 0.5229 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.31, allocations: 11.75 kB / 0.523 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3101, allocations: 68.39 kB / 0.523 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.3104, allocations: 161.1 kB / 0.5232 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.3106, allocations: 99.64 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.3111, allocations: 0.5465 MB / 0.5238 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.3113, allocations: 154.6 kB / 0.524 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3116, allocations: 209.8 kB / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.3118, allocations: 212.7 kB / 0.5244 GB, free: 364 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.3118, allocations: 40.44 kB / 0.5244 GB, free: 364 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.3119, allocations: 44.88 kB / 0.5244 GB, free: 360 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.312, allocations: 93.2 kB / 0.5245 GB, free: 296 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.3122, allocations: 249.9 kB / 0.5248 GB, free: 152 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.3127, allocations: 0.5242 MB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3127, allocations: 0 / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3127, allocations: 1.344 kB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3128, allocations: 0 / 0.5253 GB, free: 15.94 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.0009903/0.3138, allocations: 0.7148 MB / 0.526 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3138, allocations: 9.625 kB / 0.526 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.253e-05/0.3139, allocations: 50.5 kB / 0.526 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3142, allocations: 291.7 kB / 0.5263 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.3143, allocations: 35.25 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.3144, allocations: 58 kB / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/0.3151, allocations: 457.3 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.3151, allocations: 13.38 kB / 0.5268 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.3152, allocations: 21.5 kB / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3152, allocations: 11.22 kB / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.3156, allocations: 262.6 kB / 0.5271 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.3178, allocations: 1.685 MB / 0.5288 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.3183, allocations: 420.1 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3185, allocations: 158 kB / 0.5293 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3185, allocations: 5.562 kB / 0.5293 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3185, allocations: 47.44 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.976e-06/0.3186, allocations: 0 / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007541/0.3193, allocations: 363.6 kB / 0.5297 GB, free: 12.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.3195, allocations: 275.9 kB / 0.53 GB, free: 12.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.3197, allocations: 255.4 kB / 0.5302 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3198, allocations: 35.55 kB / 0.5303 GB, free: 12.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3199, allocations: 241.7 kB / 0.5305 GB, free: 11.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.32, allocations: 182.7 kB / 0.5307 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3202, allocations: 111.7 kB / 0.5308 GB, free: 11.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3203, allocations: 351 kB / 0.5311 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3205, allocations: 118.2 kB / 0.5312 GB, free: 11.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.3209, allocations: 426.4 kB / 0.5316 GB, free: 10.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.3215, allocations: 0.5662 MB / 0.5322 GB, free: 10.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3216, allocations: 3.656 kB / 0.5322 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008002/0.3224, allocations: 0.5672 MB / 0.5327 GB, free: 9.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3224, allocations: 10 kB / 0.5328 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3224, allocations: 9.438 kB / 0.5328 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.3224, allocations: 18.45 kB / 0.5328 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.323, allocations: 180.2 kB / 0.5329 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.323, allocations: 22.27 kB / 0.533 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.3233, allocations: 62.97 kB / 0.533 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.3233, allocations: 30.91 kB / 0.5331 GB, free: 9.781 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.0002088/0.3236, allocations: 191.6 kB / 0.5332 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.3238, allocations: 46.05 kB / 0.5333 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.117e-05/0.3238, allocations: 38.86 kB / 0.5333 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3239, allocations: 9.5 kB / 0.5333 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3239, allocations: 3.969 kB / 0.5333 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3239, allocations: 1.312 kB / 0.5333 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3249, allocations: 423.8 kB / 0.5337 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3249, allocations: 6.844 kB / 0.5337 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.3255, allocations: 122.3 kB / 0.5339 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3255, allocations: 4.156 kB / 0.5339 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.3255, allocations: 14.06 kB / 0.5339 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.3255, allocations: 12.52 kB / 0.5339 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.3255, allocations: 6.312 kB / 0.5339 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.3264, allocations: 1.075 MB / 0.535 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.3265, allocations: 107.5 kB / 0.5351 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.3265, allocations: 13.44 kB / 0.5351 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3269, allocations: 10.94 kB / 0.5351 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.327, allocations: 38.33 kB / 0.5351 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.327, allocations: 14.28 kB / 0.5351 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.3272, allocations: 169.3 kB / 0.5353 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3272, allocations: 0 / 0.5353 GB, free: 7.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008535/0.328, allocations: 136.4 kB / 0.5354 GB, free: 7.949 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.0001703/0.3282, allocations: 117.1 kB / 0.5355 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006043/0.3288, allocations: 354.3 kB / 0.5359 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3288, allocations: 0 / 0.5359 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.329, allocations: 130.2 kB / 0.536 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.3302, allocations: 100.5 kB / 0.5361 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.3329, allocations: 1.997 MB / 0.538 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.3334, allocations: 0.8249 MB / 0.5388 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.3335, allocations: 35.22 kB / 0.5389 GB, free: 5.188 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3335, allocations: 1.188 kB / 0.5389 GB, free: 5.188 MB / 398.1 MB Notification: Performance of Templates: time 0.00819/0.3417, allocations: 5.072 MB / 0.5438 GB, free: 2.355 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