Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000919/0.000919, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 90.64 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2353/0.2353, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.264e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5944, allocations: 85.36 MB / 0.5494 GB, free: 8.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5947, allocations: 68.91 kB / 0.5494 GB, free: 8.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.016/0.6108, allocations: 7.046 MB / 0.5563 GB, free: 3.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6108, allocations: 0 / 0.5563 GB, free: 3.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.6108, allocations: 8 kB / 0.5563 GB, free: 3.41 MB / 362.7 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.0006733/0.6115, allocations: 0.6033 MB / 0.5569 GB, free: 2.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6116, allocations: 8.031 kB / 0.5569 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.6116, allocations: 51.44 kB / 0.557 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.6118, allocations: 226.4 kB / 0.5572 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.6118, allocations: 16 kB / 0.5572 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.6119, allocations: 43.58 kB / 0.5573 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003231/0.6122, allocations: 215.5 kB / 0.5575 GB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.6127, allocations: 375.9 kB / 0.5578 GB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.6127, allocations: 7.906 kB / 0.5578 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.6128, allocations: 4 kB / 0.5578 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.6128, allocations: 19.94 kB / 0.5579 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.6143, allocations: 1.614 MB / 0.5594 GB, free: 468 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.6147, allocations: 384 kB / 0.5598 GB, free: 72 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.6148, allocations: 139.1 kB / 0.5599 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.6149, allocations: 4 kB / 0.5599 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.6149, allocations: 50 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.6149, allocations: 3.5 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005251/0.6155, allocations: 247.4 kB / 0.5602 GB, free: 15.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.6156, allocations: 273 kB / 0.5605 GB, free: 15.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.6158, allocations: 197.2 kB / 0.5607 GB, free: 15.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.6158, allocations: 25.7 kB / 0.5607 GB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.616, allocations: 250.2 kB / 0.5609 GB, free: 14.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6161, allocations: 171.3 kB / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.6161, allocations: 0 / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6163, allocations: 346.9 kB / 0.5614 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.6164, allocations: 103.7 kB / 0.5615 GB, free: 14.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.6168, allocations: 392.2 kB / 0.5619 GB, free: 13.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.6171, allocations: 162.3 kB / 0.562 GB, free: 13.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6171, allocations: 4 kB / 0.5621 GB, free: 13.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006677/0.6177, allocations: 493.5 kB / 0.5625 GB, free: 13.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6178, allocations: 8 kB / 0.5625 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.6178, allocations: 8 kB / 0.5625 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.6178, allocations: 16 kB / 0.5626 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.6184, allocations: 182.3 kB / 0.5627 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.6184, allocations: 15.94 kB / 0.5627 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.6186, allocations: 51.28 kB / 0.5628 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.6187, allocations: 31.44 kB / 0.5628 GB, free: 13.12 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.6188, allocations: 135.8 kB / 0.563 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004547/0.6193, allocations: 251.8 kB / 0.5632 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6194, allocations: 35.62 kB / 0.5632 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.6195, allocations: 34.45 kB / 0.5633 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6196, allocations: 4 kB / 0.5633 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6196, allocations: 4.375 kB / 0.5633 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6196, allocations: 7.984 kB / 0.5633 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.6205, allocations: 353.9 kB / 0.5636 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6205, allocations: 12.12 kB / 0.5636 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/0.6211, allocations: 127.4 kB / 0.5637 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.6211, allocations: 4 kB / 0.5637 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.6211, allocations: 11.31 kB / 0.5638 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.6211, allocations: 4 kB / 0.5638 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6211, allocations: 4 kB / 0.5638 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.622, allocations: 1.135 MB / 0.5649 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.6221, allocations: 108.7 kB / 0.565 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.6222, allocations: 8 kB / 0.565 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.6225, allocations: 0 / 0.565 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.6226, allocations: 31.36 kB / 0.565 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.6226, allocations: 19.36 kB / 0.565 GB, free: 10.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.6227, allocations: 153.7 kB / 0.5652 GB, free: 10.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6227, allocations: 3.938 kB / 0.5652 GB, free: 10.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007892/0.6235, allocations: 119.6 kB / 0.5653 GB, free: 10.69 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.6248, allocations: 2.222 MB / 0.5675 GB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.6253, allocations: 295.9 kB / 0.5678 GB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6253, allocations: 4 kB / 0.5678 GB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.6255, allocations: 118.9 kB / 0.5679 GB, free: 8.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/0.6263, allocations: 69.84 kB / 0.5679 GB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.6295, allocations: 2.088 MB / 0.57 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.6299, allocations: 0.8392 MB / 0.5708 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.6301, allocations: 47.44 kB / 0.5708 GB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6303, allocations: 143.8 kB / 0.571 GB, free: 5.07 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6303, allocations: 0 / 0.571 GB, free: 5.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.657, allocations: 6.948 MB / 0.5778 GB, free: 14.14 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.6573, allocations: 151.2 kB / 0.5779 GB, free: 13.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.622, allocations: 0 / 0.5779 GB, free: 13.95 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat