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.001823/0.001823, allocations: 109 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.002236/0.002236, allocations: 213.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.442/1.442, 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.2291/0.2291, allocations: 46.94 MB / 361.6 MB, free: 4.207 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.002284/0.002284, allocations: 83.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3384, allocations: 66.08 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01552/0.3539, allocations: 13.46 MB / 0.5746 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.3643, allocations: 4.848 MB / 0.5794 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.3667, allocations: 111.4 kB / 0.5795 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007372/0.3741, allocations: 3.792 MB / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.3804, allocations: 2.222 MB / 0.5854 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.3829, allocations: 1.08 MB / 0.5864 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.3933, allocations: 6.674 MB / 0.5929 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005066/0.3984, allocations: 3.544 MB / 0.5964 GB, free: 436 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.4022, allocations: 2.06 MB / 0.5984 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005039/0.4072, allocations: 2.96 MB / 0.6013 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.4084, allocations: 428 kB / 0.6017 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.4114, allocations: 1.486 MB / 0.6032 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.4144, allocations: 2.544 MB / 0.6056 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004193/0.4185, allocations: 2.828 MB / 0.6084 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.4294, allocations: 8.946 MB / 0.6171 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4294, allocations: 0 / 0.6171 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4294, allocations: 0 / 0.6171 GB, free: 11.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002393/0.4296, allocations: 0 / 0.6171 GB, free: 11.11 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.01651/0.4461, allocations: 6.521 MB / 0.6235 GB, free: 4.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4462, allocations: 8.031 kB / 0.6235 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001859/0.4481, allocations: 0.9043 MB / 0.6244 GB, free: 3.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03374/0.4818, allocations: 6.051 MB / 0.6303 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.4928, allocations: 4.586 MB / 0.6348 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.4931, allocations: 283.5 kB / 0.6351 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.4944, allocations: 391.8 kB / 0.6354 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/0.5162, allocations: 11.91 MB / 0.6471 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.5164, allocations: 59.53 kB / 0.6471 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004657/0.5168, allocations: 175.9 kB / 0.6473 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.5202, allocations: 2.151 MB / 0.6494 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.5407, allocations: 10.15 MB / 0.6593 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06322/0.6039, allocations: 47 MB / 0.7052 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/0.6181, allocations: 5.12 MB / 0.7102 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003904/0.622, allocations: 2.653 MB / 0.7128 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/0.636, allocations: 8.301 MB / 0.7209 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.918e-05/0.6361, allocations: 55.81 kB / 0.7209 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=206): time 5.2e-06/0.6361, allocations: 0 / 0.7209 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.3709/1.007, allocations: 34.78 MB / 0.7549 GB, free: 150 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/1.007, allocations: 208.5 kB / 0.7551 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00563/1.013, allocations: 4.798 MB / 0.7598 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004365/1.013, allocations: 61.7 kB / 0.7599 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001595/1.015, allocations: 3.731 MB / 0.7635 GB, free: 142 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008619/1.016, allocations: 1.017 MB / 0.7645 GB, free: 141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/1.017, allocations: 1.35 MB / 0.7658 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/1.017, allocations: 305.1 kB / 0.7661 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/1.02, allocations: 3.027 MB / 0.7691 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/1.025, allocations: 6.846 MB / 0.7757 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/1.034, allocations: 10.67 MB / 0.7862 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-05/1.034, allocations: 42.5 kB / 0.7862 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02196/1.056, allocations: 13.18 MB / 0.7991 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/1.056, allocations: 64 kB / 0.7991 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.575e-05/1.056, allocations: 132 kB / 0.7993 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/1.066, allocations: 4.217 MB / 0.8034 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.07, allocations: 1.411 MB / 0.8048 GB, free: 96.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03125/1.101, allocations: 28.27 MB / 0.8324 GB, free: 67.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005661/1.107, allocations: 399.5 kB / 0.8327 GB, free: 67.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.108, allocations: 396 kB / 0.8331 GB, free: 66.68 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.003855/1.112, allocations: 2.461 MB / 0.8355 GB, free: 64.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009712/1.113, allocations: 468.9 kB / 0.836 GB, free: 63.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/1.127, allocations: 8.179 MB / 0.844 GB, free: 55.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/1.127, allocations: 33.02 kB / 0.844 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.39e-05/1.127, allocations: 16 kB / 0.844 GB, free: 55.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/1.127, allocations: 11.95 kB / 0.844 GB, free: 55.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/1.152, allocations: 16.63 MB / 0.8603 GB, free: 38.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/1.152, allocations: 4 kB / 0.8603 GB, free: 38.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.153, allocations: 298.7 kB / 0.8606 GB, free: 38.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0088/1.162, allocations: 3.809 MB / 0.8643 GB, free: 34.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004723/1.163, allocations: 48 kB / 0.8643 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02847/1.191, allocations: 27.06 MB / 0.8907 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.191, allocations: 11.94 kB / 0.8908 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/1.212, allocations: 12.09 MB / 0.9026 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.213, allocations: 440.7 kB / 0.903 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008913/1.214, allocations: 47.36 kB / 0.903 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.216, allocations: 171.8 kB / 0.9032 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007384/1.217, allocations: 202 kB / 0.9034 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/1.217, allocations: 71.94 kB / 0.9035 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005291/1.222, allocations: 3.035 MB / 0.9064 GB, free: 7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/1.222, allocations: 0 / 0.9064 GB, free: 7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007217/1.229, allocations: 1.41 MB / 0.9078 GB, free: 5.59 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.02366/1.253, allocations: 12.76 MB / 0.9202 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01472/1.268, allocations: 7.912 MB / 0.928 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.268, allocations: 0 / 0.928 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008684/1.277, allocations: 3.28 MB / 0.9312 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/1.282, allocations: 0.6177 MB / 0.9318 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5023/1.784, allocations: 64.21 MB / 0.9945 GB, free: 230.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007508/1.792, allocations: 3.92 MB / 0.9983 GB, free: 230 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004474/1.796, allocations: 2.002 MB / 1 GB, free: 230 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/1.799, allocations: 2.364 MB / 1.003 GB, free: 228.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.053e-06/1.799, allocations: 0 / 1.003 GB, free: 228.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1695/1.969, allocations: 119.6 MB / 1.119 GB, free: 114.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.22/24.19, allocations: 3.859 kB / 1.119 GB, free: 114.1 MB / 0.6544 GB " [Timeout remaining time 636] (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.226033884100616] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 24.35295324679464 24.371430811 23.938104259 Calling exit ...