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/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 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 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 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001434, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002048, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3971/0.3971, allocations: 43.55 MB / 314.5 MB, free: 8.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.000524, allocations: 14.97 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003363/0.1463, allocations: 2.419 MB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.1472, allocations: 446.7 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1473, allocations: 11.94 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.939e-05/0.1474, allocations: 43.61 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.1477, allocations: 175.6 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1479, allocations: 75.86 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.1483, allocations: 387.2 kB / 446.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.1486, allocations: 129 kB / 446.5 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1487, allocations: 167.4 kB / 446.7 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.149, allocations: 199.2 kB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.149, allocations: 24 kB / 446.9 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.418e-05/0.1491, allocations: 27.94 kB / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.1492, allocations: 67.75 kB / 447 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.1493, allocations: 121.5 kB / 447.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.1496, allocations: 379.2 kB / 447.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1496, allocations: 0 / 447.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1496, allocations: 0 / 447.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1496, allocations: 0 / 447.5 MB, free: 8.559 MB / 382.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.0008569/0.1505, allocations: 0.6432 MB / 448.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1505, allocations: 12.03 kB / 448.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.199e-05/0.1506, allocations: 90.45 kB / 448.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.1507, allocations: 55.34 kB / 448.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.151, allocations: 286.1 kB / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.1511, allocations: 37 kB / 448.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.1512, allocations: 55.91 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.1518, allocations: 450 kB / 449.1 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.1518, allocations: 11.91 kB / 449.1 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.1519, allocations: 20 kB / 449.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.1519, allocations: 16 kB / 449.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.1524, allocations: 259.7 kB / 449.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.1548, allocations: 1.703 MB / 451.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.1552, allocations: 415.9 kB / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1553, allocations: 11.94 kB / 451.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.1553, allocations: 46.55 kB / 451.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.733e-06/0.1553, allocations: 3.938 kB / 451.5 MB, free: 4.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007355/0.1561, allocations: 353.5 kB / 451.9 MB, free: 3.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.1562, allocations: 269 kB / 452.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.1565, allocations: 247.1 kB / 452.4 MB, free: 3.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1565, allocations: 41.7 kB / 452.4 MB, free: 3.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1567, allocations: 243.6 kB / 452.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.1569, allocations: 173.5 kB / 452.8 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.1569, allocations: 16 kB / 452.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1571, allocations: 350.8 kB / 453.2 MB, free: 2.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.1573, allocations: 113.9 kB / 453.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.1578, allocations: 417.6 kB / 453.7 MB, free: 1.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.1581, allocations: 183.9 kB / 453.9 MB, free: 1.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1581, allocations: 0 / 453.9 MB, free: 1.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008607/0.1589, allocations: 0.5679 MB / 454.5 MB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.159, allocations: 8 kB / 454.5 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.159, allocations: 16.86 kB / 454.5 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.159, allocations: 16 kB / 454.5 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.1596, allocations: 175.7 kB / 454.7 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/0.1596, allocations: 19.92 kB / 454.7 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.1599, allocations: 67.28 kB / 454.8 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.16, allocations: 32 kB / 454.8 MB, free: 0.6758 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.1602, allocations: 193.5 kB / 455 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.1604, allocations: 39.61 kB / 455 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.701e-05/0.1605, allocations: 41.7 kB / 455.1 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.1605, allocations: 8 kB / 455.1 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.1606, allocations: 11.98 kB / 455.1 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1606, allocations: 0 / 455.1 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2439/0.4045, allocations: 415.2 kB / 455.5 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.4046, allocations: 2.969 kB / 455.5 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.4052, allocations: 126.1 kB / 455.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.4052, allocations: 5.219 kB / 455.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.4052, allocations: 16.41 kB / 455.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4053, allocations: 2.781 kB / 455.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4053, allocations: 2.875 kB / 455.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.406, allocations: 1.166 MB / 456.8 MB, free: 44.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.4061, allocations: 112.8 kB / 456.9 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.4061, allocations: 16.56 kB / 456.9 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.4065, allocations: 10.53 kB / 456.9 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.4066, allocations: 35.83 kB / 457 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.4066, allocations: 14.14 kB / 457 MB, free: 44.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.4068, allocations: 174.1 kB / 457.2 MB, free: 44.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4068, allocations: 0 / 457.2 MB, free: 44.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008301/0.4076, allocations: 132.4 kB / 457.3 MB, free: 44.39 MB / 382.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 (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.0008599/0.4085, allocations: 2.265 MB / 459.6 MB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.409, allocations: 346.3 kB / 459.9 MB, free: 42.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.409, allocations: 0 / 459.9 MB, free: 42.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.4091, allocations: 128.1 kB / 460 MB, free: 42.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.4099, allocations: 79.97 kB / 460.1 MB, free: 42.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/0.4149, allocations: 10.49 MB / 470.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.4152, allocations: 0.8385 MB / 471.4 MB, free: 32.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.4154, allocations: 52.47 kB / 471.5 MB, free: 32.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.4156, allocations: 141.7 kB / 471.6 MB, free: 32.71 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4156, allocations: 0 / 471.6 MB, free: 32.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.4345, allocations: 7.464 MB / 479.1 MB, free: 32.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.4349, allocations: 197.9 kB / 479.3 MB, free: 31.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.283, allocations: 0 / 479.3 MB, free: 31.82 MB / 382.1 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) Environment - environmentSimulation: 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