Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.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.001398/0.001398, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001561/0.001561, allocations: 213.5 kB / 22.99 MB, free: 5.578 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.453/1.453, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.2374/0.2374, allocations: 46.89 MB / 359.4 MB, free: 4.895 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.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",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.002635/0.002635, allocations: 87.86 kB / 0.4942 GB, free: 8.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3895, allocations: 65.98 MB / 0.5586 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008743/0.3982, allocations: 6.289 MB / 0.5647 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.403, allocations: 2.006 MB / 0.5667 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/0.404, allocations: 24 kB / 0.5667 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.4058, allocations: 0.6228 MB / 0.5673 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.4066, allocations: 210.9 kB / 0.5675 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.407, allocations: 59.88 kB / 0.5676 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007819/0.4078, allocations: 414.1 kB / 0.568 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.4085, allocations: 374.7 kB / 0.5683 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.4089, allocations: 219.2 kB / 0.5685 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.4094, allocations: 298.8 kB / 0.5688 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.4095, allocations: 36 kB / 0.5689 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.4098, allocations: 91.88 kB / 0.5689 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.4101, allocations: 271.2 kB / 0.5692 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.4105, allocations: 314 kB / 0.5695 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.4116, allocations: 0.8206 MB / 0.5703 GB, free: 9.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4116, allocations: 4 kB / 0.5703 GB, free: 9.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4116, allocations: 0 / 0.5703 GB, free: 9.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.4117, allocations: 0 / 0.5703 GB, free: 9.074 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001819/0.4135, allocations: 0.9711 MB / 0.5713 GB, free: 8.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.4135, allocations: 8.031 kB / 0.5713 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.4137, allocations: 114.7 kB / 0.5714 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.4145, allocations: 160.3 kB / 0.5715 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.4154, allocations: 446 kB / 0.572 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.4154, allocations: 33.36 kB / 0.572 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.4155, allocations: 43.92 kB / 0.572 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.4172, allocations: 1.082 MB / 0.5731 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.4172, allocations: 7.938 kB / 0.5731 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.4173, allocations: 19.98 kB / 0.5731 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000389/0.4177, allocations: 192.4 kB / 0.5733 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.419, allocations: 0.7083 MB / 0.574 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.4243, allocations: 4.658 MB / 0.5785 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.4245, allocations: 62.53 kB / 0.5786 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.4246, allocations: 40.91 kB / 0.5786 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.4246, allocations: 3.984 kB / 0.5786 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4246, allocations: 42.5 kB / 0.5787 GB, free: 92 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.715e-06/0.4246, allocations: 3.938 kB / 0.5787 GB, free: 88 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.00069/0.4253, allocations: 213.1 kB / 0.5789 GB, free: 15.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.4254, allocations: 51.41 kB / 0.5789 GB, free: 15.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4267, allocations: 0.8166 MB / 0.5797 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4267, allocations: 25.7 kB / 0.5798 GB, free: 14.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005704/0.4273, allocations: 0.5218 MB / 0.5803 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.4273, allocations: 31.83 kB / 0.5803 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.4276, allocations: 174.5 kB / 0.5805 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002505/0.4279, allocations: 374.8 kB / 0.5808 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.4282, allocations: 181.9 kB / 0.581 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009257/0.4291, allocations: 0.7389 MB / 0.5817 GB, free: 12.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.4305, allocations: 0.9704 MB / 0.5827 GB, free: 11.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.4305, allocations: 7.984 kB / 0.5827 GB, free: 11.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001692/0.4322, allocations: 0.8721 MB / 0.5835 GB, free: 10.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.4323, allocations: 12 kB / 0.5835 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.4323, allocations: 24.78 kB / 0.5836 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.808e-05/0.4323, allocations: 31.94 kB / 0.5836 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.4329, allocations: 183.6 kB / 0.5838 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-05/0.4329, allocations: 35.86 kB / 0.5838 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/0.4336, allocations: 119.2 kB / 0.5839 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.4337, allocations: 48 kB / 0.584 GB, free: 10.06 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0005475/0.4342, allocations: 363.6 kB / 0.5843 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4344, allocations: 59.58 kB / 0.5844 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.4345, allocations: 73.2 kB / 0.5844 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4345, allocations: 0 / 0.5844 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4345, allocations: 4 kB / 0.5844 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4345, allocations: 0 / 0.5844 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.4353, allocations: 0.4896 MB / 0.5849 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4353, allocations: 0 / 0.5849 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4354, allocations: 11.98 kB / 0.5849 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/0.4354, allocations: 7.922 kB / 0.5849 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4354, allocations: 3.938 kB / 0.5849 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4354, allocations: 0 / 0.5849 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4354, allocations: 0 / 0.5849 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.4359, allocations: 271 kB / 0.5852 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.4361, allocations: 128.7 kB / 0.5853 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.4361, allocations: 7.922 kB / 0.5853 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.4363, allocations: 8 kB / 0.5853 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.4364, allocations: 11.98 kB / 0.5853 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4364, allocations: 7.984 kB / 0.5853 GB, free: 8.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007599/0.4372, allocations: 0.5302 MB / 0.5859 GB, free: 8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4372, allocations: 0 / 0.5859 GB, free: 8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008083/0.438, allocations: 147.6 kB / 0.586 GB, free: 7.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0008995/0.4389, allocations: 0.8096 MB / 0.5868 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.4398, allocations: 408.6 kB / 0.5872 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.4398, allocations: 4 kB / 0.5872 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4399, allocations: 43.89 kB / 0.5872 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.4406, allocations: 87.72 kB / 0.5873 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/0.4505, allocations: 6.116 MB / 0.5933 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/0.4513, allocations: 0.9831 MB / 0.5942 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005606/0.4519, allocations: 216.7 kB / 0.5945 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.4522, allocations: 235.3 kB / 0.5947 GB, free: 14.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.495e-06/0.4522, allocations: 0 / 0.5947 GB, free: 14.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04317/0.4954, allocations: 11.08 MB / 0.6055 GB, free: 3.305 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.872/10.37, allocations: 0.7031 kB / 0.6055 GB, free: 3.305 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.137411504983902] Failed to read output from testmodel.py, exit status != 0: ['time'] 10.446995784004685 10.478529814 10.060693565 Calling exit ...