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.00179/0.00179, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001992/0.001992, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.476/1.476, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2271/0.2271, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.00229/0.00229, allocations: 83.84 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1503, allocations: 65.98 MB / 0.5556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0155/0.1658, allocations: 13.44 MB / 0.5688 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.1767, allocations: 4.817 MB / 0.5735 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.1793, allocations: 99.62 kB / 0.5736 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007824/0.1871, allocations: 3.777 MB / 0.5773 GB, free: 224 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.1937, allocations: 2.202 MB / 0.5794 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.1964, allocations: 1.08 MB / 0.5805 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.2065, allocations: 6.666 MB / 0.587 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005315/0.2118, allocations: 3.807 MB / 0.5907 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.2157, allocations: 2.033 MB / 0.5927 GB, free: 340 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2949/0.5106, allocations: 2.954 MB / 0.5956 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001754/0.5124, allocations: 430.8 kB / 0.596 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.5167, allocations: 1.483 MB / 0.5974 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004575/0.5213, allocations: 2.536 MB / 0.5999 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006649/0.5279, allocations: 2.832 MB / 0.6027 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01748/0.5454, allocations: 8.935 MB / 0.6114 GB, free: 7.977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.5454, allocations: 3.062 kB / 0.6114 GB, free: 7.977 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.5454, allocations: 3.562 kB / 0.6114 GB, free: 7.977 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006365/0.5461, allocations: 0 / 0.6114 GB, free: 7.977 MB / 446.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.02487/0.5709, allocations: 6.593 MB / 0.6178 GB, free: 4.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.571, allocations: 9.781 kB / 0.6178 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003362/0.5744, allocations: 0.911 MB / 0.6187 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03501/0.6094, allocations: 6.047 MB / 0.6246 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.6218, allocations: 4.672 MB / 0.6292 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.622, allocations: 282.5 kB / 0.6295 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/0.6238, allocations: 389.3 kB / 0.6298 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/0.6495, allocations: 11.91 MB / 0.6415 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000206/0.6497, allocations: 52.53 kB / 0.6415 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007227/0.6504, allocations: 183.1 kB / 0.6417 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003482/0.6539, allocations: 2.14 MB / 0.6438 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.677, allocations: 10.17 MB / 0.6537 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07655/0.7535, allocations: 47.12 MB / 0.6997 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/0.7684, allocations: 5.561 MB / 0.7052 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004326/0.7727, allocations: 2.649 MB / 0.7078 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/0.7909, allocations: 8.75 MB / 0.7163 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/0.791, allocations: 59.14 kB / 0.7164 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 5.12e-06/0.791, allocations: 0 / 0.7164 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1244/0.9154, allocations: 34.93 MB / 0.7505 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.9156, allocations: 205.9 kB / 0.7507 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009274/0.9249, allocations: 4.809 MB / 0.7554 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007785/0.9256, allocations: 61.7 kB / 0.7554 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003415/0.9291, allocations: 3.725 MB / 0.7591 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/0.9307, allocations: 1.011 MB / 0.76 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002339/0.933, allocations: 1.364 MB / 0.7614 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9331, allocations: 305.1 kB / 0.7617 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004969/0.9381, allocations: 3.023 MB / 0.7646 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008777/0.9469, allocations: 6.841 MB / 0.7713 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/0.9617, allocations: 10.67 MB / 0.7817 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.9618, allocations: 40 kB / 0.7818 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02986/0.9916, allocations: 13.18 MB / 0.7946 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.9918, allocations: 60 kB / 0.7947 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002239/0.992, allocations: 136 kB / 0.7948 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/1.005, allocations: 4.225 MB / 0.7989 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005481/1.01, allocations: 1.408 MB / 0.8003 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04289/1.053, allocations: 28.57 MB / 0.8282 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006222/1.059, allocations: 403.4 kB / 0.8286 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/1.061, allocations: 404 kB / 0.829 GB, free: 2.723 MB / 0.6387 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.006467/1.067, allocations: 2.458 MB / 0.8314 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.302/1.369, allocations: 463.8 kB / 0.8318 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.39, allocations: 8.176 MB / 0.8398 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-05/1.39, allocations: 28.44 kB / 0.8398 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/1.39, allocations: 12.09 kB / 0.8399 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/1.39, allocations: 16.91 kB / 0.8399 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03381/1.424, allocations: 16.68 MB / 0.8562 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/1.424, allocations: 7.875 kB / 0.8562 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.425, allocations: 300.4 kB / 0.8565 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009133/1.434, allocations: 3.802 MB / 0.8602 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005211/1.435, allocations: 43.75 kB / 0.8602 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02928/1.464, allocations: 27.36 MB / 0.8869 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/1.464, allocations: 11.94 kB / 0.8869 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/1.482, allocations: 12.09 MB / 0.8987 GB, free: 177.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.484, allocations: 0.51 MB / 0.8992 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008765/1.485, allocations: 48 kB / 0.8993 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/1.487, allocations: 167.8 kB / 0.8994 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/1.487, allocations: 195 kB / 0.8996 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.488, allocations: 72 kB / 0.8997 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0047/1.492, allocations: 3.031 MB / 0.9027 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/1.492, allocations: 0 / 0.9027 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008732/1.501, allocations: 1.41 MB / 0.904 GB, free: 172.7 MB / 0.6387 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.01839/1.519, allocations: 12.77 MB / 0.9165 GB, free: 159.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.533, allocations: 7.914 MB / 0.9242 GB, free: 152 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.533, allocations: 4 kB / 0.9242 GB, free: 152 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005223/1.538, allocations: 3.271 MB / 0.9274 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.542, allocations: 0.6209 MB / 0.928 GB, free: 148.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09599/1.638, allocations: 64.13 MB / 0.9907 GB, free: 77.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004331/1.643, allocations: 3.928 MB / 0.9945 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004129/1.647, allocations: 2.003 MB / 0.9965 GB, free: 71.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003018/1.65, allocations: 2.362 MB / 0.9988 GB, free: 69.43 MB / 0.6387 GB Notification: Performance of SimCode: time 1.532e-06/1.65, allocations: 0 / 0.9988 GB, free: 69.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4764/2.126, allocations: 113.6 MB / 1.11 GB, free: 216.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/25.21, allocations: 3.5 kB / 1.11 GB, free: 216.3 MB / 0.6544 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: 28.370295331347734] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 25.37155266990885 25.384796057 24.836240786 Calling exit ...