Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.00142/0.00142, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001556/0.001556, allocations: 221.1 kB / 22.92 MB, free: 5.531 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.304/1.304, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] 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.1997/0.1997, allocations: 46.89 MB / 359.3 MB, free: 4.977 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.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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.002118/0.002118, allocations: 79.86 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.254, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004137/0.2581, allocations: 3.317 MB / 0.5616 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2593, allocations: 0.8257 MB / 0.5624 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.2595, allocations: 11.94 kB / 0.5625 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.2597, allocations: 75.23 kB / 0.5625 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.2599, allocations: 178.5 kB / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.2602, allocations: 115.8 kB / 0.5628 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.2607, allocations: 0.5908 MB / 0.5634 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.2609, allocations: 125.4 kB / 0.5635 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.2612, allocations: 227.2 kB / 0.5637 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.2614, allocations: 239 kB / 0.564 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.2615, allocations: 40 kB / 0.564 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.2616, allocations: 51.94 kB / 0.564 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.875e-05/0.2617, allocations: 99.67 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2619, allocations: 270.7 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.2624, allocations: 0.5582 MB / 0.5649 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2624, allocations: 0 / 0.5649 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2624, allocations: 0 / 0.5649 GB, free: 14.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2624, allocations: 0 / 0.5649 GB, free: 14.48 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001045/0.2635, allocations: 0.7829 MB / 0.5657 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2635, allocations: 8.031 kB / 0.5657 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.2636, allocations: 86.7 kB / 0.5658 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.628e-05/0.2637, allocations: 56.61 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.2641, allocations: 326.6 kB / 0.5662 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.2641, allocations: 41.31 kB / 0.5662 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.2642, allocations: 60.31 kB / 0.5663 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.2648, allocations: 434.7 kB / 0.5667 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.2649, allocations: 11.94 kB / 0.5667 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.2649, allocations: 20 kB / 0.5667 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.2649, allocations: 12 kB / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.2654, allocations: 312.5 kB / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.267, allocations: 1.154 MB / 0.5681 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/0.2676, allocations: 461.9 kB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.2679, allocations: 190.9 kB / 0.5688 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.268, allocations: 8.438 kB / 0.5688 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.268, allocations: 42.94 kB / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.443e-06/0.268, allocations: 0 / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002862/0.2708, allocations: 2.151 MB / 0.5709 GB, free: 7.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.2709, allocations: 85.67 kB / 0.571 GB, free: 7.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.2711, allocations: 258.9 kB / 0.5712 GB, free: 7.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.2712, allocations: 37.7 kB / 0.5713 GB, free: 7.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.2713, allocations: 213.4 kB / 0.5715 GB, free: 7.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.2715, allocations: 285.5 kB / 0.5718 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.2717, allocations: 122.6 kB / 0.5719 GB, free: 6.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2718, allocations: 358.7 kB / 0.5722 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.2721, allocations: 161.9 kB / 0.5724 GB, free: 6.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.2724, allocations: 272.9 kB / 0.5726 GB, free: 6.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.2731, allocations: 470.8 kB / 0.5731 GB, free: 5.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2731, allocations: 0 / 0.5731 GB, free: 5.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007609/0.2738, allocations: 0.571 MB / 0.5736 GB, free: 5.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2738, allocations: 8 kB / 0.5736 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2738, allocations: 0 / 0.5736 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2739, allocations: 8 kB / 0.5736 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.2744, allocations: 175.8 kB / 0.5738 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.2744, allocations: 15.94 kB / 0.5738 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2746, allocations: 28.22 kB / 0.5739 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.2747, allocations: 28 kB / 0.5739 GB, free: 4.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.000171/0.2748, allocations: 177.7 kB / 0.5741 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.2749, allocations: 47.72 kB / 0.5741 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.275, allocations: 55.64 kB / 0.5742 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.2751, allocations: 8 kB / 0.5742 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2751, allocations: 3.938 kB / 0.5742 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2751, allocations: 7.922 kB / 0.5742 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.2769, allocations: 1.444 MB / 0.5756 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2769, allocations: 4 kB / 0.5756 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.2775, allocations: 155.8 kB / 0.5757 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2775, allocations: 8 kB / 0.5757 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.2775, allocations: 19.94 kB / 0.5758 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2775, allocations: 8.344 kB / 0.5758 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.2775, allocations: 11.94 kB / 0.5758 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.2786, allocations: 0.9158 MB / 0.5767 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.2787, allocations: 120.8 kB / 0.5768 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.2787, allocations: 20 kB / 0.5768 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.279, allocations: 19.98 kB / 0.5768 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.279, allocations: 44.38 kB / 0.5769 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.2791, allocations: 27.94 kB / 0.5769 GB, free: 1.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.2792, allocations: 174 kB / 0.5771 GB, free: 1.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2792, allocations: 0 / 0.5771 GB, free: 1.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.2797, allocations: 148 kB / 0.5772 GB, free: 1.223 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.00134/0.281, allocations: 1.468 MB / 0.5786 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000639/0.2817, allocations: 439.5 kB / 0.5791 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2817, allocations: 0 / 0.5791 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.282, allocations: 222.9 kB / 0.5793 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.2827, allocations: 134.2 kB / 0.5794 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/0.2883, allocations: 4.777 MB / 0.5841 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.2887, allocations: 0.8446 MB / 0.5849 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.2889, allocations: 60.66 kB / 0.5849 GB, free: 8.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.2891, allocations: 163.4 kB / 0.5851 GB, free: 8.824 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2891, allocations: 0 / 0.5851 GB, free: 8.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.3226, allocations: 9.982 MB / 0.5948 GB, free: 14.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.058, allocations: 13.88 kB / 0.5949 GB, free: 14.98 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_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_SpringDamper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.609775185002945]