Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001621/0.001621, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001846/0.001846, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.533/1.533, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2708/0.2708, allocations: 46.93 MB / 361.6 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 179] 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.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.00242/0.00242, allocations: 79.88 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4054, allocations: 66.09 MB / 0.5615 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00343/0.4089, allocations: 1.86 MB / 0.5633 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.4093, allocations: 151.4 kB / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.4094, allocations: 0 / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.854e-05/0.4094, allocations: 31.72 kB / 0.5635 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.4096, allocations: 59.48 kB / 0.5635 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.4097, allocations: 35.95 kB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.41, allocations: 183.1 kB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.4101, allocations: 41.72 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4103, allocations: 67.78 kB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.4104, allocations: 71.7 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.4104, allocations: 16 kB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.4105, allocations: 12 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.4105, allocations: 43.84 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4106, allocations: 83.59 kB / 0.5641 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.4109, allocations: 185.2 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4109, allocations: 0 / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4109, allocations: 0 / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4109, allocations: 3.938 kB / 0.5643 GB, free: 1.504 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006384/0.4115, allocations: 378 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4116, allocations: 8.031 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.4116, allocations: 50.73 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.4117, allocations: 20.83 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.4119, allocations: 158.2 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.4119, allocations: 12.7 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.412, allocations: 20.33 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.4123, allocations: 174.1 kB / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4123, allocations: 7.938 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4123, allocations: 4 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.4123, allocations: 7.984 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.4125, allocations: 87.95 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.4134, allocations: 0.554 MB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.4137, allocations: 133.1 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.4137, allocations: 45.7 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.4138, allocations: 0 / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4138, allocations: 30.56 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.4138, allocations: 0 / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008057/0.4146, allocations: 231.2 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.4147, allocations: 81.11 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4148, allocations: 132.9 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.4148, allocations: 25.7 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.4149, allocations: 136.2 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.415, allocations: 59.47 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.4151, allocations: 45.7 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4152, allocations: 318.8 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.4153, allocations: 35.98 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4154, allocations: 100.6 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.4156, allocations: 164.4 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4156, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004349/0.4161, allocations: 227.4 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4161, allocations: 4 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4161, allocations: 4 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.4164, allocations: 49.92 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.4165, allocations: 35.92 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.4191, allocations: 2.783 MB / 0.5702 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4192, allocations: 11.89 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4192, allocations: 12.16 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.4194, allocations: 142.7 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.4194, allocations: 15.89 kB / 0.5704 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.4195, allocations: 24.64 kB / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4195, allocations: 0 / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4195, allocations: 4 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4195, allocations: 0 / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.4198, allocations: 196.6 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.4199, allocations: 8 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.42, allocations: 27.98 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.4202, allocations: 49.62 kB / 0.5707 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.4202, allocations: 7.938 kB / 0.5707 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.4226, allocations: 2.772 MB / 0.5734 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4226, allocations: 7.969 kB / 0.5734 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.4231, allocations: 372.5 kB / 0.5737 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.4231, allocations: 11.89 kB / 0.5737 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4231, allocations: 128 / 0.5737 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.4233, allocations: 12 kB / 0.5738 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.4233, allocations: 15.97 kB / 0.5738 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4233, allocations: 4 kB / 0.5738 GB, free: 6.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.412e-05/0.4234, allocations: 99.27 kB / 0.5739 GB, free: 6.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4234, allocations: 4 kB / 0.5739 GB, free: 6.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005078/0.4239, allocations: 55.89 kB / 0.5739 GB, free: 6.758 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008224/0.4247, allocations: 0.8968 MB / 0.5748 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.4254, allocations: 345.3 kB / 0.5751 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4254, allocations: 0.5 kB / 0.5751 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.4257, allocations: 289.2 kB / 0.5754 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.4263, allocations: 27.08 kB / 0.5754 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.4293, allocations: 2.329 MB / 0.5777 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.4298, allocations: 0.7319 MB / 0.5784 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.4298, allocations: 13.42 kB / 0.5784 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.4299, allocations: 39.42 kB / 0.5785 GB, free: 1.84 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4299, allocations: 0 / 0.5785 GB, free: 1.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.4657, allocations: 3.889 MB / 0.5823 GB, free: 14.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.06, allocations: 0 / 0.5823 GB, free: 14.05 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_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_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.302169575821608] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w'] 11.146772138774395 11.176350159 10.760251614 Calling exit ...