Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001385/0.001385, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.001666/0.001666, allocations: 219.5 kB / 23.48 MB, free: 5.254 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.446/1.446, allocations: 230.2 MB / 256.8 MB, free: 8.57 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.2232/0.2232, allocations: 46.88 MB / 360 MB, free: 4.742 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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.002239/0.002239, allocations: 79.81 kB / 0.4951 GB, free: 8.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3643, allocations: 65.99 MB / 0.5595 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01589/0.3802, allocations: 13.47 MB / 0.5727 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3917, allocations: 4.832 MB / 0.5774 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.3944, allocations: 99.62 kB / 0.5775 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007936/0.4023, allocations: 3.792 MB / 0.5812 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.4093, allocations: 2.206 MB / 0.5833 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.4124, allocations: 1.084 MB / 0.5844 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01149/0.4239, allocations: 6.663 MB / 0.5909 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.4296, allocations: 3.253 MB / 0.5941 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/0.4344, allocations: 2.033 MB / 0.5961 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005525/0.44, allocations: 2.96 MB / 0.599 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.4416, allocations: 432 kB / 0.5994 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.4451, allocations: 1.482 MB / 0.6008 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003304/0.4484, allocations: 2.548 MB / 0.6033 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00429/0.4527, allocations: 2.824 MB / 0.6061 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.4648, allocations: 8.942 MB / 0.6148 GB, free: 12.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4648, allocations: 0 / 0.6148 GB, free: 12.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4648, allocations: 4 kB / 0.6148 GB, free: 12.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003236/0.4651, allocations: 0 / 0.6148 GB, free: 12.13 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01749/0.4826, allocations: 6.6 MB / 0.6212 GB, free: 5.449 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4826, allocations: 8.031 kB / 0.6212 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002325/0.485, allocations: 0.9082 MB / 0.6221 GB, free: 4.523 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03559/0.5205, allocations: 6.047 MB / 0.628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.5318, allocations: 4.662 MB / 0.6326 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.5321, allocations: 287.4 kB / 0.6329 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.5337, allocations: 391.7 kB / 0.6332 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/0.5577, allocations: 11.9 MB / 0.6449 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.5579, allocations: 59.59 kB / 0.6449 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005872/0.5585, allocations: 179.8 kB / 0.6451 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003678/0.5621, allocations: 2.143 MB / 0.6472 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/0.5849, allocations: 10.17 MB / 0.6571 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07965/0.6645, allocations: 47.12 MB / 0.7031 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/0.6828, allocations: 5.56 MB / 0.7086 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003781/0.6865, allocations: 2.646 MB / 0.7111 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/0.7013, allocations: 8.769 MB / 0.7197 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/0.7013, allocations: 55.88 kB / 0.7198 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=206): time 4.799e-06/0.7013, allocations: 0 / 0.7198 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.4037/1.105, allocations: 34.93 MB / 0.7539 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.105, allocations: 205.9 kB / 0.7541 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/1.111, allocations: 4.798 MB / 0.7588 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005582/1.112, allocations: 65.7 kB / 0.7588 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.114, allocations: 3.732 MB / 0.7625 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.115, allocations: 1.004 MB / 0.7634 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00156/1.116, allocations: 1.365 MB / 0.7648 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.385e-05/1.116, allocations: 305.1 kB / 0.7651 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/1.12, allocations: 3.027 MB / 0.768 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/1.124, allocations: 6.84 MB / 0.7747 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008978/1.133, allocations: 10.67 MB / 0.7851 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-05/1.133, allocations: 40 kB / 0.7852 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02145/1.155, allocations: 13.18 MB / 0.798 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/1.155, allocations: 60 kB / 0.7981 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/1.155, allocations: 136.1 kB / 0.7982 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.165, allocations: 4.222 MB / 0.8023 GB, free: 97.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/1.169, allocations: 1.411 MB / 0.8037 GB, free: 96.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03152/1.201, allocations: 28.58 MB / 0.8316 GB, free: 67.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005647/1.207, allocations: 395.5 kB / 0.832 GB, free: 66.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.208, allocations: 403.9 kB / 0.8324 GB, free: 66.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004381/1.212, allocations: 2.463 MB / 0.8348 GB, free: 63.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.213, allocations: 464.9 kB / 0.8352 GB, free: 63.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.227, allocations: 8.183 MB / 0.8432 GB, free: 55.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-05/1.228, allocations: 24 kB / 0.8433 GB, free: 55.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-05/1.228, allocations: 22.91 kB / 0.8433 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/1.228, allocations: 15.56 kB / 0.8433 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.256, allocations: 16.67 MB / 0.8596 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/1.256, allocations: 4 kB / 0.8596 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.258, allocations: 300.1 kB / 0.8599 GB, free: 38.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008816/1.266, allocations: 3.805 MB / 0.8636 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/1.267, allocations: 47.98 kB / 0.8636 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/1.297, allocations: 27.36 MB / 0.8903 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.297, allocations: 11.94 kB / 0.8903 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02185/1.319, allocations: 12.1 MB / 0.9022 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.32, allocations: 0.5056 MB / 0.9027 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001343/1.322, allocations: 51.98 kB / 0.9027 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/1.325, allocations: 163.8 kB / 0.9029 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000991/1.325, allocations: 194.1 kB / 0.903 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003718/1.326, allocations: 71.98 kB / 0.9031 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00665/1.333, allocations: 3.035 MB / 0.9061 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.333, allocations: 0 / 0.9061 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008845/1.341, allocations: 1.41 MB / 0.9075 GB, free: 4.742 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02536/1.367, allocations: 12.76 MB / 0.9199 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.382, allocations: 7.908 MB / 0.9276 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.382, allocations: 0.8438 kB / 0.9276 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006425/1.389, allocations: 3.273 MB / 0.9308 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/1.394, allocations: 0.6172 MB / 0.9314 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3967/1.791, allocations: 64.23 MB / 0.9942 GB, free: 207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004342/1.795, allocations: 3.919 MB / 0.998 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004021/1.799, allocations: 2.005 MB / 0.9999 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002565/1.802, allocations: 2.358 MB / 1.002 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.292e-06/1.802, allocations: 0 / 1.002 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1618/1.964, allocations: 114.6 MB / 1.114 GB, free: 90.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.77/24.74, allocations: 5.828 kB / 1.114 GB, free: 90.86 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.833892212016508] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 24.896205083001405 24.907285096 24.43957366 Calling exit ...