Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001439, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 191.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3757/0.3757, allocations: 39.94 MB / 309.4 MB, free: 9.375 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 71.89 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1601, allocations: 56.88 MB / 434 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3562/0.5164, allocations: 62.42 MB / 496.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04059/0.557, allocations: 12.83 MB / 0.4973 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02314/0.5804, allocations: 276 kB / 0.4976 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009078/0.5895, allocations: 3.613 MB / 0.5011 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009332/0.5989, allocations: 2.033 MB / 0.5031 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004171/0.6031, allocations: 1.02 MB / 0.5041 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01566/0.6188, allocations: 6.419 MB / 0.5104 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/0.634, allocations: 4.773 MB / 0.515 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009862/0.6439, allocations: 2.092 MB / 0.5171 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007889/0.6519, allocations: 3.071 MB / 0.5201 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003042/0.655, allocations: 429.7 kB / 0.5205 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006759/0.6618, allocations: 1.468 MB / 0.5219 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006825/0.6686, allocations: 2.504 MB / 0.5243 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009538/0.6782, allocations: 2.815 MB / 0.5271 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.6945, allocations: 8.633 MB / 0.5355 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.6946, allocations: 3.938 kB / 0.5355 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6946, allocations: 0 / 0.5355 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004772/0.6951, allocations: 0 / 0.5355 GB, free: 0.8945 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02225/0.7174, allocations: 6.251 MB / 0.5416 GB, free: 10.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.7174, allocations: 15.83 kB / 0.5417 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.7306, allocations: 2.529 MB / 0.5441 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.7434, allocations: 4.031 MB / 0.5481 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004764/0.744, allocations: 287.8 kB / 0.5483 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/0.7465, allocations: 387.6 kB / 0.5487 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03113/0.7776, allocations: 12.01 MB / 0.5604 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004296/0.7781, allocations: 67.36 kB / 0.5605 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002032/0.7802, allocations: 179.8 kB / 0.5607 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004005/0.7842, allocations: 2.132 MB / 0.5627 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02524/0.8095, allocations: 10.38 MB / 0.5729 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07855/0.8881, allocations: 47.53 MB / 0.6193 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/0.9034, allocations: 5.819 MB / 0.625 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3092/1.213, allocations: 2.956 MB / 0.6279 GB, free: 145.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/1.226, allocations: 8.871 MB / 0.6365 GB, free: 142.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.226, allocations: 61.06 kB / 0.6366 GB, free: 142.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 6.572e-06/1.226, allocations: 0 / 0.6366 GB, free: 142.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1232/1.349, allocations: 34.98 MB / 0.6708 GB, free: 134.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.35, allocations: 209.1 kB / 0.6709 GB, free: 134.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009104/1.359, allocations: 4.796 MB / 0.6756 GB, free: 132.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009015/1.36, allocations: 62.67 kB / 0.6757 GB, free: 132.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.362, allocations: 3.552 MB / 0.6792 GB, free: 129.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.364, allocations: 0.9734 MB / 0.6801 GB, free: 129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/1.366, allocations: 1.424 MB / 0.6815 GB, free: 128.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/1.366, allocations: 301.1 kB / 0.6818 GB, free: 128 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/1.371, allocations: 3.174 MB / 0.6849 GB, free: 126.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008198/1.379, allocations: 7.042 MB / 0.6918 GB, free: 120 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.391, allocations: 10.95 MB / 0.7025 GB, free: 107.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/1.391, allocations: 43.94 kB / 0.7025 GB, free: 107.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0256/1.417, allocations: 13.74 MB / 0.7159 GB, free: 94.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000198/1.417, allocations: 64 kB / 0.716 GB, free: 93.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002756/1.418, allocations: 132 kB / 0.7161 GB, free: 93.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/1.429, allocations: 4.404 MB / 0.7204 GB, free: 89.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005179/1.434, allocations: 1.478 MB / 0.7219 GB, free: 87.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03568/1.47, allocations: 29.05 MB / 0.7502 GB, free: 58.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008535/1.479, allocations: 403.4 kB / 0.7506 GB, free: 58.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/1.481, allocations: 413.6 kB / 0.751 GB, free: 57.71 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (798): * Single equations (assignments): 792 * 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.008028/1.489, allocations: 2.474 MB / 0.7534 GB, free: 55.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002331/1.491, allocations: 446.3 kB / 0.7538 GB, free: 54.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01869/1.51, allocations: 8.483 MB / 0.7621 GB, free: 46.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-05/1.51, allocations: 28 kB / 0.7622 GB, free: 46.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.344e-05/1.51, allocations: 12 kB / 0.7622 GB, free: 46.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-05/1.51, allocations: 19.89 kB / 0.7622 GB, free: 46.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04111/1.551, allocations: 17.08 MB / 0.7789 GB, free: 29.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.738e-05/1.551, allocations: 8 kB / 0.7789 GB, free: 29.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.553, allocations: 295.5 kB / 0.7792 GB, free: 28.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009792/1.563, allocations: 3.977 MB / 0.783 GB, free: 24.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007326/1.563, allocations: 51.89 kB / 0.7831 GB, free: 24.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03496/1.598, allocations: 27.75 MB / 0.8102 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/1.598, allocations: 12 kB / 0.8102 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3096/1.908, allocations: 12.43 MB / 0.8223 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003075/1.911, allocations: 0.9631 MB / 0.8233 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007763/1.912, allocations: 45.25 kB / 0.8233 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.914, allocations: 172.5 kB / 0.8235 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008261/1.915, allocations: 200.4 kB / 0.8237 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.915, allocations: 66.03 kB / 0.8237 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004505/1.92, allocations: 3.031 MB / 0.8267 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.01e-07/1.92, allocations: 0 / 0.8267 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008489/1.928, allocations: 1.467 MB / 0.8281 GB, free: 143.5 MB / 0.4981 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.0007199/1.929, allocations: 197.7 kB / 0.8283 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01906/1.948, allocations: 10.01 MB / 0.8381 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.948, allocations: 1.062 kB / 0.8381 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007248/1.955, allocations: 3.533 MB / 0.8415 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00691/1.962, allocations: 0.5738 MB / 0.8421 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03503/1.997, allocations: 15.03 MB / 0.8568 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/2.009, allocations: 3.927 MB / 0.8606 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007971/2.017, allocations: 2.009 MB / 0.8626 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/2.019, allocations: 284.9 kB / 0.8628 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.422e-06/2.019, allocations: 0 / 0.8628 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.1245/2.143, allocations: 72.74 MB / 0.9339 GB, free: 70.14 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)