Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 71.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3141, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01309/0.3273, allocations: 12.01 MB / 0.5434 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00871/0.336, allocations: 4.311 MB / 0.5476 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.3375, allocations: 72.34 kB / 0.5477 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004661/0.3422, allocations: 2.735 MB / 0.5503 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.3465, allocations: 1.969 MB / 0.5523 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3481, allocations: 0.9202 MB / 0.5532 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006346/0.3545, allocations: 5.672 MB / 0.5587 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/0.3579, allocations: 3.355 MB / 0.562 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.36, allocations: 1.717 MB / 0.5637 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.3629, allocations: 2.512 MB / 0.5661 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006437/0.3636, allocations: 388 kB / 0.5665 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.3659, allocations: 1.397 MB / 0.5678 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.3677, allocations: 2.19 MB / 0.57 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.3698, allocations: 2.427 MB / 0.5723 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006912/0.3767, allocations: 7.851 MB / 0.58 GB, free: 56 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3768, allocations: 0 / 0.58 GB, free: 56 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3768, allocations: 0 / 0.58 GB, free: 56 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001233/0.3769, allocations: 3.938 kB / 0.58 GB, free: 52 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01148/0.3884, allocations: 5.49 MB / 0.5854 GB, free: 10.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3885, allocations: 8.031 kB / 0.5854 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.3997, allocations: 2.471 MB / 0.5878 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007226/0.407, allocations: 3.375 MB / 0.5911 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.4072, allocations: 242.5 kB / 0.5913 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008836/0.4081, allocations: 335.5 kB / 0.5916 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.426, allocations: 10.88 MB / 0.6023 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.4261, allocations: 51.48 kB / 0.6023 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/0.4266, allocations: 163.8 kB / 0.6025 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002921/0.4295, allocations: 1.994 MB / 0.6044 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.4471, allocations: 9.444 MB / 0.6136 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0492/0.4963, allocations: 41.04 MB / 0.6537 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.507, allocations: 4.265 MB / 0.6579 GB, free: 14.02 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/0.5101, allocations: 1.931 MB / 0.6598 GB, free: 12.08 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.5217, allocations: 7.591 MB / 0.6672 GB, free: 4.113 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.5218, allocations: 51.5 kB / 0.6672 GB, free: 4.051 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=180): time 4.568e-06/0.5218, allocations: 4 kB / 0.6672 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of matching and sorting (n=236): time 0.1586/0.6804, allocations: 40.92 MB / 0.7072 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.6806, allocations: 205.9 kB / 0.7074 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006765/0.6873, allocations: 4.305 MB / 0.7116 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000466/0.6878, allocations: 57.7 kB / 0.7117 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002527/0.6903, allocations: 3.164 MB / 0.7147 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.6915, allocations: 0.8791 MB / 0.7156 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/0.6941, allocations: 1.352 MB / 0.7169 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6943, allocations: 309.1 kB / 0.7172 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.264/0.9582, allocations: 3.621 MB / 0.7208 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006322/0.9646, allocations: 7.296 MB / 0.7279 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.9759, allocations: 11.62 MB / 0.7392 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/0.9761, allocations: 42.88 kB / 0.7393 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03457/1.011, allocations: 16.22 MB / 0.7551 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/1.011, allocations: 60 kB / 0.7552 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.96e-05/1.011, allocations: 124 kB / 0.7553 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02086/1.032, allocations: 6.229 MB / 0.7614 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/1.036, allocations: 1.486 MB / 0.7628 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02913/1.065, allocations: 27.62 MB / 0.7898 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005882/1.071, allocations: 411.6 kB / 0.7902 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.073, allocations: 388 kB / 0.7906 GB, free: 104.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (779): * Single equations (assignments): 774 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003681/1.076, allocations: 2.221 MB / 0.7927 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.077, allocations: 388.8 kB / 0.7931 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02527/1.103, allocations: 11.29 MB / 0.8041 GB, free: 90.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/1.103, allocations: 7.969 kB / 0.8041 GB, free: 90.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.103, allocations: 0 / 0.8041 GB, free: 90.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000893/1.104, allocations: 446.6 kB / 0.8046 GB, free: 90.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008214/1.104, allocations: 38.36 kB / 0.8046 GB, free: 90.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/1.107, allocations: 179.7 kB / 0.8048 GB, free: 90.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000556/1.107, allocations: 181.6 kB / 0.8049 GB, free: 89.97 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01569/1.123, allocations: 8.765 MB / 0.8135 GB, free: 81.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00968/1.133, allocations: 9.682 MB / 0.823 GB, free: 71.54 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002649/1.135, allocations: 2.709 MB / 0.8256 GB, free: 68.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003736/1.139, allocations: 2.697 MB / 0.8282 GB, free: 66.13 MB / 0.5606 GB Notification: Performance of Backend: time 3.41e-07/1.139, allocations: 0 / 0.8282 GB, free: 66.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.151, allocations: 6.161 MB / 0.8343 GB, free: 60 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01392/1.165, allocations: 10.16 MB / 0.8442 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1099/1.275, allocations: 75.46 MB / 0.9179 GB, free: 6.531 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches