Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 101.1 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4547/0.4547, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3301, allocations: 62.01 MB / 0.5151 GB, free: 37.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.03823/0.3684, allocations: 53.46 MB / 0.5674 GB, free: 15.38 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0304/0.3988, allocations: 11.24 MB / 0.5783 GB, free: 7.898 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01257/0.4114, allocations: 231 kB / 0.5785 GB, free: 7.863 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006417/0.4179, allocations: 3.121 MB / 0.5816 GB, free: 5.359 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.4245, allocations: 2.39 MB / 0.5839 GB, free: 2.961 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.4265, allocations: 0.9166 MB / 0.5848 GB, free: 2.043 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.4387, allocations: 10.06 MB / 0.5946 GB, free: 7.973 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006021/0.4448, allocations: 4.287 MB / 0.5988 GB, free: 3.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.4493, allocations: 1.981 MB / 0.6008 GB, free: 1.637 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005703/0.455, allocations: 3.431 MB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.4566, allocations: 332 kB / 0.6044 GB, free: 13.87 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.4602, allocations: 1.42 MB / 0.6058 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.4637, allocations: 2.754 MB / 0.6085 GB, free: 9.688 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004081/0.4678, allocations: 3.114 MB / 0.6116 GB, free: 6.555 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.4794, allocations: 9.945 MB / 0.6213 GB, free: 12.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4794, allocations: 0 / 0.6213 GB, free: 12.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4795, allocations: 0 / 0.6213 GB, free: 12.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003286/0.4798, allocations: 0 / 0.6213 GB, free: 12.58 MB / 442.7 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.01801/0.4978, allocations: 7.334 MB / 0.6284 GB, free: 5.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4979, allocations: 15.97 kB / 0.6284 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.5142, allocations: 3.927 MB / 0.6323 GB, free: 1.203 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009664/0.5238, allocations: 4.06 MB / 0.6362 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.5241, allocations: 320.3 kB / 0.6365 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.5256, allocations: 435.6 kB / 0.637 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02467/0.5503, allocations: 15.73 MB / 0.6523 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.5505, allocations: 59.38 kB / 0.6524 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005864/0.5511, allocations: 203.8 kB / 0.6526 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004797/0.5559, allocations: 3.22 MB / 0.6557 GB, free: 8.191 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/0.5823, allocations: 14.16 MB / 0.6696 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3476/0.93, allocations: 57.78 MB / 0.726 GB, free: 87.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.9444, allocations: 6.592 MB / 0.7324 GB, free: 84.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005265/0.9497, allocations: 3.742 MB / 0.7361 GB, free: 83.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02413/0.9738, allocations: 14.78 MB / 0.7505 GB, free: 75.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.974, allocations: 62.95 kB / 0.7506 GB, free: 75.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=292): time 7.625e-06/0.974, allocations: 0 / 0.7506 GB, free: 75.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=342): time 0.1393/1.113, allocations: 42.49 MB / 0.7921 GB, free: 37.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/1.113, allocations: 218 kB / 0.7923 GB, free: 37.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008599/1.122, allocations: 5.462 MB / 0.7976 GB, free: 31.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008191/1.123, allocations: 73.7 kB / 0.7977 GB, free: 31.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002383/1.125, allocations: 4.357 MB / 0.8019 GB, free: 27.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.127, allocations: 1.265 MB / 0.8032 GB, free: 25.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00439/1.131, allocations: 1.852 MB / 0.805 GB, free: 24.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/1.131, allocations: 301.1 kB / 0.8053 GB, free: 23.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006151/1.138, allocations: 4.84 MB / 0.81 GB, free: 18.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009135/1.147, allocations: 9.82 MB / 0.8196 GB, free: 6.605 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/1.164, allocations: 15.63 MB / 0.8348 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/1.165, allocations: 48 kB / 0.8349 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.0488/1.213, allocations: 19.61 MB / 0.854 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/1.214, allocations: 80 kB / 0.8541 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003774/1.214, allocations: 176.7 kB / 0.8543 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02452/1.239, allocations: 5.945 MB / 0.8601 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007872/1.247, allocations: 2.129 MB / 0.8622 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2758/1.522, allocations: 24.77 MB / 0.8864 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00835/1.531, allocations: 0.5615 MB / 0.8869 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.533, allocations: 0.5109 MB / 0.8874 GB, free: 172.9 MB / 0.5417 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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005139/1.538, allocations: 3.107 MB / 0.8904 GB, free: 172.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.539, allocations: 498.2 kB / 0.8909 GB, free: 172.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03075/1.57, allocations: 13.01 MB / 0.9036 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/1.57, allocations: 58.75 kB / 0.9037 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/1.57, allocations: 8.031 kB / 0.9037 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.09e-05/1.57, allocations: 16.84 kB / 0.9037 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05447/1.625, allocations: 24.68 MB / 0.9278 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/1.625, allocations: 3.906 kB / 0.9278 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/1.628, allocations: 0.5889 MB / 0.9284 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01918/1.647, allocations: 4.972 MB / 0.9332 GB, free: 156.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007401/1.648, allocations: 61.94 kB / 0.9333 GB, free: 156.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/1.67, allocations: 19.97 MB / 0.9528 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.67, allocations: 6.25 kB / 0.9528 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5466/2.217, allocations: 145.8 MB / 1.095 GB, free: 162.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/2.218, allocations: 0.5296 MB / 1.096 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/2.22, allocations: 55.34 kB / 1.096 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003781/2.224, allocations: 263.4 kB / 1.096 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009509/2.225, allocations: 196.3 kB / 1.096 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/2.225, allocations: 89.92 kB / 1.096 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004883/2.23, allocations: 3.396 MB / 1.1 GB, free: 162 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/2.23, allocations: 3.688 kB / 1.1 GB, free: 162 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01124/2.241, allocations: 2.4 MB / 1.102 GB, free: 162 MB / 0.5417 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 (257): * Single equations (assignments): 249 * Array equations: 6 * 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 {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/2.242, allocations: 204.5 kB / 1.102 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01866/2.261, allocations: 11 MB / 1.113 GB, free: 158 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/2.261, allocations: 1.094 kB / 1.113 GB, free: 158 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006077/2.267, allocations: 4.133 MB / 1.117 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/2.271, allocations: 0.5936 MB / 1.118 GB, free: 156 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/2.303, allocations: 21.68 MB / 1.139 GB, free: 145 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007803/2.31, allocations: 4.741 MB / 1.143 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007606/2.318, allocations: 3.048 MB / 1.146 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/2.32, allocations: 354.2 kB / 1.147 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/2.32, allocations: 0 / 1.147 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1812/2.501, allocations: 116.3 MB / 1.26 GB, free: 30.38 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches