Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001811/0.001811, allocations: 183.1 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2078/0.2078, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 67.88 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3708, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01692/0.3877, allocations: 16.29 MB / 0.5343 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.4012, allocations: 5.332 MB / 0.5395 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004257/0.4055, allocations: 97.62 kB / 0.5396 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009143/0.4147, allocations: 4.172 MB / 0.5437 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.425, allocations: 2.755 MB / 0.5464 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.4289, allocations: 1.266 MB / 0.5476 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.4411, allocations: 7.594 MB / 0.555 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008087/0.4492, allocations: 5.856 MB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.454, allocations: 2.683 MB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.4591, allocations: 3.77 MB / 0.5671 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.4605, allocations: 0.5938 MB / 0.5676 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.4638, allocations: 1.771 MB / 0.5694 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002813/0.4667, allocations: 3.339 MB / 0.5726 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004331/0.471, allocations: 3.838 MB / 0.5764 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.4845, allocations: 12.46 MB / 0.5885 GB, free: 4.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4846, allocations: 0 / 0.5885 GB, free: 4.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4846, allocations: 0 / 0.5885 GB, free: 4.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004332/0.485, allocations: 0 / 0.5885 GB, free: 4.039 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02019/0.5052, allocations: 7.995 MB / 0.5964 GB, free: 11.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5053, allocations: 12.03 kB / 0.5964 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00358/0.5089, allocations: 1.295 MB / 0.5976 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03016/0.5391, allocations: 5.712 MB / 0.6032 GB, free: 4.902 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.5521, allocations: 5.201 MB / 0.6083 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.5525, allocations: 405.9 kB / 0.6087 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/0.5549, allocations: 0.5542 MB / 0.6092 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03968/0.5946, allocations: 18.82 MB / 0.6276 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003281/0.5949, allocations: 71.36 kB / 0.6277 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001764/0.5967, allocations: 255.7 kB / 0.6279 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00578/0.6025, allocations: 3.432 MB / 0.6313 GB, free: 7.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03637/0.6389, allocations: 16.5 MB / 0.6474 GB, free: 6.551 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0986/0.7375, allocations: 66.5 MB / 0.7123 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5242/1.262, allocations: 6.255 MB / 0.7184 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/1.266, allocations: 2.835 MB / 0.7212 GB, free: 163.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02491/1.291, allocations: 13.83 MB / 0.7347 GB, free: 156.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.291, allocations: 64.97 kB / 0.7347 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 5.38e-06/1.291, allocations: 0 / 0.7347 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07608/1.367, allocations: 25.07 MB / 0.7592 GB, free: 142.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/1.367, allocations: 184.3 kB / 0.7594 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007185/1.374, allocations: 5.907 MB / 0.7652 GB, free: 136.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007618/1.375, allocations: 73.7 kB / 0.7653 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002856/1.378, allocations: 4.978 MB / 0.7701 GB, free: 131.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/1.379, allocations: 1.284 MB / 0.7714 GB, free: 130.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/1.382, allocations: 1.868 MB / 0.7732 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/1.382, allocations: 305.1 kB / 0.7735 GB, free: 128 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004743/1.387, allocations: 3.29 MB / 0.7767 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006528/1.393, allocations: 8.763 MB / 0.7853 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.406, allocations: 13.05 MB / 0.798 GB, free: 97.53 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/1.406, allocations: 61.91 kB / 0.7981 GB, free: 97.47 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02332/1.429, allocations: 12.81 MB / 0.8106 GB, free: 84.62 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002773/1.43, allocations: 96.2 kB / 0.8107 GB, free: 84.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003294/1.43, allocations: 192 kB / 0.8108 GB, free: 84.34 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/1.434, allocations: 1.31 MB / 0.8121 GB, free: 83.03 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.44, allocations: 2.16 MB / 0.8142 GB, free: 80.86 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.451, allocations: 7.839 MB / 0.8219 GB, free: 72.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/1.458, allocations: 0.4993 MB / 0.8224 GB, free: 72.39 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.459, allocations: 0.5469 MB / 0.8229 GB, free: 71.84 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006189/1.466, allocations: 3.444 MB / 0.8263 GB, free: 68.39 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.467, allocations: 0.5206 MB / 0.8268 GB, free: 67.86 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.478, allocations: 5.412 MB / 0.8321 GB, free: 62.39 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/1.478, allocations: 39.52 kB / 0.8321 GB, free: 62.36 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/1.478, allocations: 8 kB / 0.8321 GB, free: 62.35 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.751e-05/1.478, allocations: 19.88 kB / 0.8321 GB, free: 62.33 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.509, allocations: 13.92 MB / 0.8457 GB, free: 48.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/1.509, allocations: 12.19 kB / 0.8457 GB, free: 48.17 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/1.511, allocations: 0.4953 MB / 0.8462 GB, free: 47.68 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/1.514, allocations: 0.8088 MB / 0.847 GB, free: 46.86 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003953/1.515, allocations: 76.45 kB / 0.8471 GB, free: 46.79 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00823/1.523, allocations: 5.81 MB / 0.8528 GB, free: 40.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/1.523, allocations: 19.88 kB / 0.8528 GB, free: 40.82 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/1.537, allocations: 8.289 MB / 0.8609 GB, free: 32.25 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.539, allocations: 0.5605 MB / 0.8614 GB, free: 31.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.54, allocations: 67.92 kB / 0.8615 GB, free: 31.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.543, allocations: 135.9 kB / 0.8616 GB, free: 31.46 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/1.544, allocations: 217.4 kB / 0.8618 GB, free: 31.25 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/1.544, allocations: 107.4 kB / 0.8619 GB, free: 31.15 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006489/1.55, allocations: 3.672 MB / 0.8655 GB, free: 27.51 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.031e-06/1.55, allocations: 0 / 0.8655 GB, free: 27.51 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008544/1.559, allocations: 1.637 MB / 0.8671 GB, free: 25.88 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (269): * Single equations (assignments): 262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0131/1.572, allocations: 9.052 MB / 0.8759 GB, free: 16.54 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.583, allocations: 7.827 MB / 0.8836 GB, free: 8.727 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.583, allocations: 0.9375 kB / 0.8836 GB, free: 8.727 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.587, allocations: 2.383 MB / 0.8859 GB, free: 6.332 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005352/1.592, allocations: 0.7059 MB / 0.8866 GB, free: 5.633 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.447/2.039, allocations: 73.41 MB / 0.9583 GB, free: 199.5 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006632/2.046, allocations: 5.162 MB / 0.9633 GB, free: 197.7 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006262/2.052, allocations: 2.963 MB / 0.9662 GB, free: 197.7 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003699/2.056, allocations: 3.333 MB / 0.9695 GB, free: 194.9 MB / 0.6232 GB Notification: Performance of SimCode: time 1.462e-06/2.056, allocations: 0 / 0.9695 GB, free: 194.9 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1899/2.246, allocations: 112.3 MB / 1.079 GB, free: 90.61 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.73/25.98, allocations: 17.59 kB / 1.079 GB, free: 90.6 MB / 0.6232 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches