Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001959/0.001959, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2409/0.2409, allocations: 46.92 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 83.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3512, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00467/0.3559, allocations: 3.079 MB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3569, allocations: 422.5 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.3571, allocations: 15.88 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.3573, allocations: 63.31 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.3577, allocations: 162.6 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.358, allocations: 103.8 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.3586, allocations: 0.5405 MB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.3589, allocations: 121 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.3592, allocations: 207.4 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.3595, allocations: 215 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.34e-05/0.3596, allocations: 40 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-05/0.3597, allocations: 40 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.3597, allocations: 99.67 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.36, allocations: 246.9 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.3606, allocations: 0.5309 MB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3607, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3607, allocations: 4 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3607, allocations: 0 / 0.5672 GB, free: 14.42 MB / 414.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.001065/0.3617, allocations: 0.6532 MB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3618, allocations: 8.031 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.3619, allocations: 86.7 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.46e-05/0.362, allocations: 56.61 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.3624, allocations: 230.7 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3624, allocations: 37.38 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.3625, allocations: 52.33 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.3632, allocations: 458.7 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3633, allocations: 15.89 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.3633, allocations: 16 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3633, allocations: 15.98 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.3638, allocations: 263.6 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.3664, allocations: 1.652 MB / 0.5707 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.3671, allocations: 395.4 kB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.3673, allocations: 152.2 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3673, allocations: 8 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.3674, allocations: 50.48 kB / 0.5712 GB, free: 10.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 4.449e-06/0.3674, allocations: 3.984 kB / 0.5712 GB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008154/0.3682, allocations: 361 kB / 0.5716 GB, free: 9.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002177/0.3684, allocations: 269 kB / 0.5718 GB, free: 9.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.3687, allocations: 249.9 kB / 0.5721 GB, free: 9.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3687, allocations: 29.7 kB / 0.5721 GB, free: 9.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3689, allocations: 252.7 kB / 0.5723 GB, free: 8.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.3691, allocations: 194.4 kB / 0.5725 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3692, allocations: 110.6 kB / 0.5726 GB, free: 8.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.3694, allocations: 354.7 kB / 0.573 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3697, allocations: 121.9 kB / 0.5731 GB, free: 8.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.3702, allocations: 413.6 kB / 0.5735 GB, free: 7.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/0.371, allocations: 0.5771 MB / 0.5741 GB, free: 6.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.371, allocations: 8 kB / 0.5741 GB, free: 6.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001006/0.372, allocations: 0.5676 MB / 0.5746 GB, free: 6.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.372, allocations: 9 kB / 0.5746 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.372, allocations: 8 kB / 0.5746 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.3721, allocations: 23.94 kB / 0.5747 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.3727, allocations: 175.7 kB / 0.5748 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.244e-05/0.3727, allocations: 19.94 kB / 0.5748 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.373, allocations: 67.52 kB / 0.5749 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.373, allocations: 32 kB / 0.5749 GB, free: 5.836 MB / 414.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.0002506/0.3733, allocations: 189.5 kB / 0.5751 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.3735, allocations: 39.77 kB / 0.5752 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.3736, allocations: 41.7 kB / 0.5752 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3736, allocations: 11.94 kB / 0.5752 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3736, allocations: 4 kB / 0.5752 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3736, allocations: 7.984 kB / 0.5752 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3748, allocations: 372.4 kB / 0.5756 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3748, allocations: 4 kB / 0.5756 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.3754, allocations: 127.8 kB / 0.5757 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.3754, allocations: 4 kB / 0.5757 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.3754, allocations: 15.98 kB / 0.5757 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.3754, allocations: 7.938 kB / 0.5757 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3754, allocations: 4 kB / 0.5757 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3765, allocations: 1.098 MB / 0.5768 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.3766, allocations: 35.69 kB / 0.5768 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.3766, allocations: 15.94 kB / 0.5768 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.377, allocations: 8 kB / 0.5769 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.3771, allocations: 35.88 kB / 0.5769 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.3771, allocations: 16 kB / 0.5769 GB, free: 3.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.3773, allocations: 165.2 kB / 0.5771 GB, free: 3.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3773, allocations: 0 / 0.5771 GB, free: 3.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008838/0.3782, allocations: 147.7 kB / 0.5772 GB, free: 3.426 MB / 414.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.001532/0.3797, allocations: 1.64 MB / 0.5788 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.3805, allocations: 332.1 kB / 0.5791 GB, free: 1.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3805, allocations: 1.75 kB / 0.5791 GB, free: 1.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.3807, allocations: 123.8 kB / 0.5792 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.382, allocations: 100.9 kB / 0.5793 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00791/0.3899, allocations: 5.62 MB / 0.5848 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.3906, allocations: 0.8313 MB / 0.5856 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.3908, allocations: 48.16 kB / 0.5857 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.391, allocations: 139.4 kB / 0.5858 GB, free: 10.17 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.391, allocations: 0 / 0.5858 GB, free: 10.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.43, allocations: 8.749 MB / 0.5944 GB, free: 1.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.158/9.588, allocations: 15.05 kB / 0.5944 GB, free: 1.523 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.67442542500794] Failed to read output from testmodel.py, exit status != 0: ['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'] 9.669518129900098 9.699415924 9.333587378 Calling exit ...