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.00114/0.00114, allocations: 117.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 203.8 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3212, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004024/0.3252, allocations: 3.075 MB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009073/0.3262, allocations: 419.1 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.3264, allocations: 12.19 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.3266, allocations: 74.11 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.327, allocations: 160.5 kB / 0.5341 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3272, allocations: 102.8 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.3278, allocations: 0.5351 MB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.3281, allocations: 171.2 kB / 0.5349 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.3284, allocations: 209 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.3287, allocations: 214.3 kB / 0.5353 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.3287, allocations: 40.19 kB / 0.5354 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.3288, allocations: 41.38 kB / 0.5354 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.3289, allocations: 88.98 kB / 0.5355 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.3291, allocations: 251.5 kB / 0.5357 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.3297, allocations: 0.5271 MB / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3297, allocations: 0 / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3297, allocations: 0 / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3297, allocations: 4 kB / 0.5362 GB, free: 9.043 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.001012/0.3308, allocations: 0.7046 MB / 0.5369 GB, free: 8.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3308, allocations: 13.8 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.639e-05/0.3309, allocations: 89.38 kB / 0.537 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/0.331, allocations: 58.62 kB / 0.5371 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.3314, allocations: 283.9 kB / 0.5374 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3314, allocations: 39.56 kB / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.3315, allocations: 60.7 kB / 0.5374 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/0.3322, allocations: 457.9 kB / 0.5379 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.3322, allocations: 19.41 kB / 0.5379 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.3323, allocations: 20.56 kB / 0.5379 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3323, allocations: 12.31 kB / 0.5379 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.3327, allocations: 257.5 kB / 0.5382 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.335, allocations: 1.683 MB / 0.5398 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.3356, allocations: 418.8 kB / 0.5402 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.3358, allocations: 155.7 kB / 0.5404 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3359, allocations: 8.406 kB / 0.5404 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.3359, allocations: 47.11 kB / 0.5404 GB, free: 5.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/0.3359, allocations: 0 / 0.5404 GB, free: 5.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007973/0.3367, allocations: 365 kB / 0.5408 GB, free: 5.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3369, allocations: 267.1 kB / 0.541 GB, free: 5.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.3371, allocations: 255.8 kB / 0.5413 GB, free: 4.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3372, allocations: 32.02 kB / 0.5413 GB, free: 4.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3373, allocations: 244.8 kB / 0.5415 GB, free: 4.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.3374, allocations: 183.2 kB / 0.5417 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.3376, allocations: 115.8 kB / 0.5418 GB, free: 4.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3377, allocations: 351.2 kB / 0.5422 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3379, allocations: 126.2 kB / 0.5423 GB, free: 3.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.3383, allocations: 415.8 kB / 0.5427 GB, free: 3.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.3389, allocations: 0.5764 MB / 0.5432 GB, free: 2.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3389, allocations: 2.469 kB / 0.5432 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008485/0.3398, allocations: 0.5711 MB / 0.5438 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3398, allocations: 10.19 kB / 0.5438 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3398, allocations: 9.562 kB / 0.5438 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.3399, allocations: 18.84 kB / 0.5438 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.3404, allocations: 180.7 kB / 0.544 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/0.3405, allocations: 18.19 kB / 0.544 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.3408, allocations: 63 kB / 0.5441 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.3409, allocations: 32.12 kB / 0.5441 GB, free: 2.562 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.0002197/0.3411, allocations: 190 kB / 0.5443 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.3413, allocations: 34.97 kB / 0.5443 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.3414, allocations: 41.7 kB / 0.5444 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3414, allocations: 11.03 kB / 0.5444 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3414, allocations: 6.312 kB / 0.5444 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3414, allocations: 2.688 kB / 0.5444 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3425, allocations: 420.1 kB / 0.5448 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3425, allocations: 2.688 kB / 0.5448 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.3431, allocations: 126.3 kB / 0.5449 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3431, allocations: 3.406 kB / 0.5449 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.3432, allocations: 18.95 kB / 0.5449 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.3432, allocations: 7.438 kB / 0.5449 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3432, allocations: 2.281 kB / 0.5449 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.3441, allocations: 1.088 MB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3442, allocations: 112.7 kB / 0.5461 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.3443, allocations: 13.38 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3447, allocations: 11.28 kB / 0.5461 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.3447, allocations: 30.7 kB / 0.5462 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3448, allocations: 9.5 kB / 0.5462 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.3449, allocations: 177.6 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3449, allocations: 0 / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000883/0.3458, allocations: 135.7 kB / 0.5465 GB, free: 0.6094 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.001165/0.347, allocations: 1.627 MB / 0.5481 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.3476, allocations: 352.4 kB / 0.5484 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3477, allocations: 0 / 0.5484 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3478, allocations: 133.2 kB / 0.5485 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.3492, allocations: 108.1 kB / 0.5486 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/0.3561, allocations: 5.591 MB / 0.5541 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3566, allocations: 0.8275 MB / 0.5549 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.3569, allocations: 52.16 kB / 0.5549 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.3571, allocations: 143.4 kB / 0.5551 GB, free: 7.344 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3571, allocations: 0 / 0.5551 GB, free: 7.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.3882, allocations: 8.425 MB / 0.5633 GB, free: 15.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.753, allocations: 10.94 kB / 0.5633 GB, free: 15.07 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