Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_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.001289/0.001289, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001279/0.001279, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.52/1.52, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2539/0.2539, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.002339/0.002339, allocations: 64.22 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1487, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02203/0.1708, allocations: 16.38 MB / 457 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.1906, allocations: 5.292 MB / 462.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005972/0.1967, allocations: 99.69 kB / 462.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.2078, allocations: 4.178 MB / 466.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.2186, allocations: 2.762 MB / 469.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.2233, allocations: 1.26 MB / 470.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01589/0.2392, allocations: 7.45 MB / 478 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.2506, allocations: 5.864 MB / 483.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007339/0.258, allocations: 2.691 MB / 486.6 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009092/0.2672, allocations: 3.789 MB / 490.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004248/0.2715, allocations: 0.5938 MB / 491 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008013/0.2795, allocations: 1.756 MB / 492.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007184/0.2868, allocations: 3.328 MB / 496.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.2983, allocations: 3.845 MB / 499.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02405/0.3224, allocations: 12.08 MB / 0.5 GB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.3225, allocations: 0 / 0.5 GB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3225, allocations: 0 / 0.5 GB, free: 15.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004808/0.323, allocations: 0 / 0.5 GB, free: 15.13 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02982/0.3528, allocations: 8.027 MB / 0.5078 GB, free: 7.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.3529, allocations: 11.89 kB / 0.5078 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005151/0.3581, allocations: 1.315 MB / 0.5091 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03959/0.3977, allocations: 5.697 MB / 0.5147 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.4098, allocations: 5.596 MB / 0.5201 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.4102, allocations: 402 kB / 0.5205 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/0.4128, allocations: 0.5503 MB / 0.5211 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4327/0.8456, allocations: 18.82 MB / 0.5394 GB, free: 76.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003104/0.8459, allocations: 70.45 kB / 0.5395 GB, free: 76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.8473, allocations: 246.4 kB / 0.5397 GB, free: 75.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006411/0.8537, allocations: 3.44 MB / 0.5431 GB, free: 75.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/0.8906, allocations: 16.5 MB / 0.5592 GB, free: 68.16 MB / 414.1 MB 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.08267/0.9733, allocations: 66.87 MB / 0.6245 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.99, allocations: 6.267 MB / 0.6306 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004745/0.9948, allocations: 2.827 MB / 0.6334 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02691/1.022, allocations: 13.85 MB / 0.6469 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8e-05/1.022, allocations: 68.5 kB / 0.647 GB, free: 8.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=284): time 6.512e-06/1.022, allocations: 3.938 kB / 0.647 GB, free: 8.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=345): time 0.08882/1.111, allocations: 25.23 MB / 0.6716 GB, free: 14.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.111, allocations: 188.3 kB / 0.6718 GB, free: 14.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008254/1.119, allocations: 5.952 MB / 0.6776 GB, free: 8.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006599/1.12, allocations: 77.59 kB / 0.6777 GB, free: 8.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003294/1.123, allocations: 4.986 MB / 0.6826 GB, free: 3.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.125, allocations: 1.28 MB / 0.6838 GB, free: 2.266 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/1.127, allocations: 1.873 MB / 0.6856 GB, free: 388 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.947e-05/1.128, allocations: 301.1 kB / 0.6859 GB, free: 84 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/1.133, allocations: 3.29 MB / 0.6891 GB, free: 12.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009878/1.142, allocations: 8.76 MB / 0.6977 GB, free: 1.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/1.161, allocations: 13.06 MB / 0.7105 GB, free: 1.543 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002124/1.161, allocations: 56 kB / 0.7105 GB, free: 1.488 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0301/1.192, allocations: 12.81 MB / 0.723 GB, free: 4.637 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002368/1.192, allocations: 92.02 kB / 0.7231 GB, free: 4.547 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000323/1.192, allocations: 192 kB / 0.7233 GB, free: 4.359 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004548/1.197, allocations: 1.323 MB / 0.7246 GB, free: 3.035 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007685/1.204, allocations: 2.16 MB / 0.7267 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2917/1.496, allocations: 7.842 MB / 0.7343 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007262/1.503, allocations: 0.5009 MB / 0.7348 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.505, allocations: 0.5436 MB / 0.7354 GB, free: 164.3 MB / 0.5138 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.007416/1.512, allocations: 3.453 MB / 0.7387 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.514, allocations: 0.5317 MB / 0.7393 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.526, allocations: 5.417 MB / 0.7445 GB, free: 161 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.05e-05/1.526, allocations: 35.56 kB / 0.7446 GB, free: 161 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/1.526, allocations: 8.031 kB / 0.7446 GB, free: 161 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.215e-05/1.526, allocations: 16.14 kB / 0.7446 GB, free: 161 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02958/1.556, allocations: 14.03 MB / 0.7583 GB, free: 155.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/1.556, allocations: 15.16 kB / 0.7583 GB, free: 155.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/1.558, allocations: 0.493 MB / 0.7588 GB, free: 155.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/1.561, allocations: 0.817 MB / 0.7596 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002818/1.561, allocations: 78.34 kB / 0.7597 GB, free: 155.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008115/1.57, allocations: 5.806 MB / 0.7653 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.57, allocations: 17.59 kB / 0.7654 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.582, allocations: 8.294 MB / 0.7735 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002333/1.585, allocations: 0.9235 MB / 0.7744 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008981/1.585, allocations: 74.7 kB / 0.7744 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.588, allocations: 131.9 kB / 0.7746 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.588, allocations: 213.8 kB / 0.7748 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.588, allocations: 114 kB / 0.7749 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005283/1.594, allocations: 3.705 MB / 0.7785 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.91e-07/1.594, allocations: 0 / 0.7785 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008984/1.603, allocations: 1.631 MB / 0.7801 GB, free: 144.5 MB / 0.5138 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.01448/1.617, allocations: 9.045 MB / 0.7889 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01955/1.637, allocations: 11.21 MB / 0.7999 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.637, allocations: 4 kB / 0.7999 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/1.64, allocations: 2.388 MB / 0.8022 GB, free: 121.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/1.645, allocations: 0.7152 MB / 0.8029 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1095/1.755, allocations: 87.8 MB / 0.8886 GB, free: 20.89 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00589/1.761, allocations: 5.173 MB / 0.8937 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00666/1.767, allocations: 2.974 MB / 0.8966 GB, free: 12.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004539/1.772, allocations: 3.338 MB / 0.8998 GB, free: 9.363 MB / 0.5138 GB Notification: Performance of SimCode: time 2.234e-06/1.772, allocations: 0 / 0.8998 GB, free: 9.363 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.416/2.188, allocations: 116.8 MB / 1.014 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/15.09, allocations: 14.56 kB / 1.014 GB, free: 114.3 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches