Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009672/0.0009674, allocations: 175.1 kB / 16.56 MB, free: 6.379 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.497/1.497, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3342/0.3342, allocations: 43.55 MB / 314.5 MB, free: 9.02 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: Performance of FrontEnd - loaded program: time 0.0005354/0.0005353, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1375, allocations: 58.85 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2798/0.4174, allocations: 45.76 MB / 488.5 MB, free: 22.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02614/0.4436, allocations: 11.09 MB / 499.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01227/0.4559, allocations: 232.4 kB / 499.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008449/0.4644, allocations: 2.28 MB / 0.4903 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02444/0.4889, allocations: 6.681 MB / 0.4969 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.4931, allocations: 0.8453 MB / 0.4977 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04213/0.5353, allocations: 28.08 MB / 0.5251 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00769/0.543, allocations: 5.099 MB / 0.5301 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.5462, allocations: 1.569 MB / 0.5316 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.5493, allocations: 2.278 MB / 0.5338 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009971/0.5504, allocations: 240 kB / 0.5341 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.5528, allocations: 1.089 MB / 0.5351 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.5551, allocations: 2.404 MB / 0.5375 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.5566, allocations: 1.205 MB / 0.5387 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008709/0.5653, allocations: 8.117 MB / 0.5466 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5653, allocations: 0 / 0.5466 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5653, allocations: 0 / 0.5466 GB, free: 5.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003344/0.5657, allocations: 0 / 0.5466 GB, free: 5.77 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01566/0.5813, allocations: 6.49 MB / 0.5529 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5814, allocations: 12.56 kB / 0.5529 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05511/0.6365, allocations: 9.719 MB / 0.5624 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/0.6539, allocations: 4.684 MB / 0.567 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/0.6544, allocations: 320 kB / 0.5673 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003022/0.6575, allocations: 431.7 kB / 0.5677 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0392/0.6967, allocations: 15.76 MB / 0.5831 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/0.6969, allocations: 67.36 kB / 0.5832 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006411/0.6976, allocations: 199.8 kB / 0.5834 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005209/0.7028, allocations: 3.22 MB / 0.5865 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/0.732, allocations: 14.09 MB / 0.6003 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2937/1.026, allocations: 57.56 MB / 0.6565 GB, free: 100.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.038, allocations: 6.598 MB / 0.6629 GB, free: 99.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02236/1.06, allocations: 14.55 MB / 0.6771 GB, free: 92.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.06, allocations: 63.33 kB / 0.6772 GB, free: 92.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=289): time 5.25e-06/1.06, allocations: 1.5 kB / 0.6772 GB, free: 92.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1463/1.207, allocations: 42.99 MB / 0.7192 GB, free: 77.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/1.207, allocations: 210 kB / 0.7194 GB, free: 76.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008826/1.216, allocations: 5.742 MB / 0.725 GB, free: 71.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008776/1.217, allocations: 73.7 kB / 0.725 GB, free: 71.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/1.219, allocations: 4.405 MB / 0.7293 GB, free: 66.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.22, allocations: 1.258 MB / 0.7306 GB, free: 65.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/1.221, allocations: 168 kB / 0.7307 GB, free: 65.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003277/1.221, allocations: 0.6819 MB / 0.7314 GB, free: 64.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005125/1.226, allocations: 4.612 MB / 0.7359 GB, free: 59.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007466/1.234, allocations: 9.547 MB / 0.7452 GB, free: 48.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00739/1.241, allocations: 6.493 MB / 0.7516 GB, free: 41.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.835e-05/1.241, allocations: 48 kB / 0.7516 GB, free: 41.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.03759/1.279, allocations: 18.96 MB / 0.7701 GB, free: 22.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.279, allocations: 76.97 kB / 0.7702 GB, free: 22.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.279, allocations: 172 kB / 0.7704 GB, free: 22.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02082/1.3, allocations: 5.835 MB / 0.7761 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007194/1.307, allocations: 2.066 MB / 0.7781 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03232/1.339, allocations: 24.95 MB / 0.8024 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00932/1.349, allocations: 0.5526 MB / 0.803 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002282/1.351, allocations: 0.5 MB / 0.8035 GB, free: 4.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008743/1.36, allocations: 3.102 MB / 0.8065 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001999/1.362, allocations: 0.4975 MB / 0.807 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03422/1.396, allocations: 12.76 MB / 0.8194 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/1.396, allocations: 55.98 kB / 0.8195 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.176e-05/1.396, allocations: 8 kB / 0.8195 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.422e-05/1.396, allocations: 11.95 kB / 0.8195 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.325/1.721, allocations: 24.45 MB / 0.8434 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-05/1.721, allocations: 9.625 kB / 0.8434 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/1.725, allocations: 0.5774 MB / 0.844 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01965/1.744, allocations: 4.835 MB / 0.8487 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007512/1.745, allocations: 55.41 kB / 0.8487 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02837/1.773, allocations: 20.19 MB / 0.8685 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/1.773, allocations: 6.625 kB / 0.8685 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03358/1.807, allocations: 17.83 MB / 0.8859 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004074/1.811, allocations: 1.259 MB / 0.8871 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/1.813, allocations: 61.12 kB / 0.8872 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.816, allocations: 258 kB / 0.8874 GB, free: 131 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007074/1.816, allocations: 191.8 kB / 0.8876 GB, free: 131 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002471/1.817, allocations: 82.23 kB / 0.8877 GB, free: 131 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004977/1.822, allocations: 3.611 MB / 0.8912 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/1.822, allocations: 0 / 0.8912 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007209/1.829, allocations: 1.737 MB / 0.8929 GB, free: 129.4 MB / 0.5137 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006256/1.83, allocations: 225.5 kB / 0.8931 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.013/1.843, allocations: 10.61 MB / 0.9035 GB, free: 119.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.843, allocations: 0 / 0.9035 GB, free: 119.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004458/1.847, allocations: 4.047 MB / 0.9074 GB, free: 115.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.85, allocations: 0.5704 MB / 0.908 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/1.871, allocations: 18.42 MB / 0.926 GB, free: 96.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003725/1.875, allocations: 4.762 MB / 0.9306 GB, free: 91.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006098/1.881, allocations: 2.998 MB / 0.9336 GB, free: 88.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.882, allocations: 355.4 kB / 0.9339 GB, free: 88.36 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/1.882, allocations: 4 kB / 0.9339 GB, free: 88.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.09932/1.982, allocations: 75.63 MB / 1.008 GB, free: 12.64 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches