Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3291, allocations: 62.42 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004482/0.3336, allocations: 3.083 MB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.335, allocations: 418.2 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.3355, allocations: 11.81 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3358, allocations: 70.33 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.3364, allocations: 165.6 kB / 0.5341 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.3368, allocations: 96.91 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.3375, allocations: 0.5358 MB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.3378, allocations: 171 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.3382, allocations: 210.2 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.3387, allocations: 214.1 kB / 0.5353 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.3388, allocations: 39.78 kB / 0.5354 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3389, allocations: 40.66 kB / 0.5354 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.339, allocations: 90.08 kB / 0.5355 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.3393, allocations: 251.9 kB / 0.5357 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006935/0.34, allocations: 0.5256 MB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.34, allocations: 0 / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3401, allocations: 1.312 kB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.3401, allocations: 0 / 0.5362 GB, free: 9.066 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.001332/0.3414, allocations: 0.7116 MB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3415, allocations: 13.11 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.3416, allocations: 86.5 kB / 0.537 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.3417, allocations: 54.41 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.3422, allocations: 287.2 kB / 0.5374 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.3422, allocations: 36.91 kB / 0.5374 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.3423, allocations: 59.61 kB / 0.5374 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007861/0.3431, allocations: 462.3 kB / 0.5379 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/0.3432, allocations: 15.09 kB / 0.5379 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.3432, allocations: 20.59 kB / 0.5379 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3432, allocations: 12.78 kB / 0.5379 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.3438, allocations: 254.3 kB / 0.5382 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.3462, allocations: 1.688 MB / 0.5398 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.3467, allocations: 417.4 kB / 0.5402 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.347, allocations: 159.6 kB / 0.5404 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.347, allocations: 8.531 kB / 0.5404 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.347, allocations: 48.27 kB / 0.5404 GB, free: 5.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.494e-06/0.3471, allocations: 0 / 0.5404 GB, free: 5.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007413/0.3478, allocations: 361.1 kB / 0.5408 GB, free: 5.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3479, allocations: 266.8 kB / 0.541 GB, free: 5.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3482, allocations: 251.6 kB / 0.5413 GB, free: 4.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.3482, allocations: 35.86 kB / 0.5413 GB, free: 4.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3484, allocations: 245.6 kB / 0.5415 GB, free: 4.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3485, allocations: 178.7 kB / 0.5417 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3487, allocations: 115.6 kB / 0.5418 GB, free: 4.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3489, allocations: 355.7 kB / 0.5422 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.3491, allocations: 126.1 kB / 0.5423 GB, free: 3.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.3495, allocations: 415.4 kB / 0.5427 GB, free: 3.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.3501, allocations: 0.5688 MB / 0.5432 GB, free: 2.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3501, allocations: 3.312 kB / 0.5432 GB, free: 2.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009482/0.3511, allocations: 0.5702 MB / 0.5438 GB, free: 2.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.3511, allocations: 9.031 kB / 0.5438 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.3511, allocations: 10.31 kB / 0.5438 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.472e-05/0.3512, allocations: 18.16 kB / 0.5438 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.3518, allocations: 181.9 kB / 0.544 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/0.3518, allocations: 21.06 kB / 0.544 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.3522, allocations: 63.97 kB / 0.5441 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.3523, allocations: 31.19 kB / 0.5441 GB, free: 2.586 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.0002613/0.3526, allocations: 186 kB / 0.5443 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.3528, allocations: 38.97 kB / 0.5443 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.3529, allocations: 42.27 kB / 0.5444 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3529, allocations: 10.62 kB / 0.5444 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3529, allocations: 3.281 kB / 0.5444 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3529, allocations: 6.375 kB / 0.5444 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3541, allocations: 424 kB / 0.5448 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3541, allocations: 2.281 kB / 0.5448 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.3547, allocations: 126.3 kB / 0.5449 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.3548, allocations: 3.594 kB / 0.5449 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.3548, allocations: 22.3 kB / 0.5449 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.3548, allocations: 8.156 kB / 0.5449 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3548, allocations: 2.188 kB / 0.5449 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008752/0.3557, allocations: 1.078 MB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3559, allocations: 111.4 kB / 0.5461 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.3559, allocations: 18.84 kB / 0.5461 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.3563, allocations: 10.84 kB / 0.5461 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.3564, allocations: 33.39 kB / 0.5462 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3564, allocations: 10.28 kB / 0.5462 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3566, allocations: 169.8 kB / 0.5463 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3566, allocations: 0 / 0.5463 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000872/0.3574, allocations: 135.6 kB / 0.5465 GB, free: 0.668 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.001328/0.3588, allocations: 1.631 MB / 0.5481 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.3594, allocations: 352.7 kB / 0.5484 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3594, allocations: 0 / 0.5484 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.3596, allocations: 132.6 kB / 0.5485 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.3607, allocations: 111.1 kB / 0.5486 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.3669, allocations: 5.583 MB / 0.5541 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.3674, allocations: 0.8275 MB / 0.5549 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000174/0.3676, allocations: 56.09 kB / 0.5549 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.3678, allocations: 147.4 kB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3678, allocations: 0 / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3957, allocations: 8.417 MB / 0.5633 GB, free: 15.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.552, allocations: 14.38 kB / 0.5633 GB, free: 15.12 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches