Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001645/0.001645, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.494/1.494, allocations: 222.9 MB / 243 MB, free: 15.16 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.2296/0.2296, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.81 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01965/0.1475, allocations: 17.69 MB / 488.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.1615, allocations: 5.69 MB / 494.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/0.166, allocations: 107.7 kB / 494.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009276/0.1753, allocations: 4.586 MB / 498.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008163/0.1835, allocations: 3.011 MB / 0.49 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.1869, allocations: 1.498 MB / 0.4915 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0134/0.2004, allocations: 8.757 MB / 0.5 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3164/0.5168, allocations: 6.431 MB / 0.5063 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007931/0.5248, allocations: 3.017 MB / 0.5093 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009562/0.5344, allocations: 4.259 MB / 0.5134 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003551/0.538, allocations: 0.6674 MB / 0.5141 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00635/0.5444, allocations: 1.842 MB / 0.5159 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006474/0.5509, allocations: 3.715 MB / 0.5195 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01089/0.5618, allocations: 4.215 MB / 0.5236 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02104/0.5828, allocations: 13.58 MB / 0.5369 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.5829, allocations: 0 / 0.5369 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.5829, allocations: 2.844 kB / 0.5369 GB, free: 6.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006629/0.5836, allocations: 0.75 kB / 0.5369 GB, free: 6.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02661/0.6102, allocations: 9.013 MB / 0.5457 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6103, allocations: 6.562 kB / 0.5457 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.6272, allocations: 4.098 MB / 0.5497 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.6422, allocations: 5.177 MB / 0.5547 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/0.6427, allocations: 442.4 kB / 0.5552 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003381/0.6461, allocations: 0.6006 MB / 0.5557 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04476/0.6909, allocations: 20.62 MB / 0.5759 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/0.6912, allocations: 75.77 kB / 0.576 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/0.6924, allocations: 277.4 kB / 0.5762 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005547/0.698, allocations: 3.717 MB / 0.5799 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04052/0.7385, allocations: 18.19 MB / 0.5976 GB, free: 13.32 MB / 446.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.1201/0.8586, allocations: 74.29 MB / 0.6702 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/0.8777, allocations: 7.452 MB / 0.6774 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006729/0.8844, allocations: 4.113 MB / 0.6815 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03279/0.9173, allocations: 18.21 MB / 0.6992 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.9173, allocations: 64.59 kB / 0.6993 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 5.981e-06/0.9174, allocations: 4 kB / 0.6993 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.3727/1.29, allocations: 35 MB / 0.7335 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/1.29, allocations: 196.3 kB / 0.7337 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007508/1.298, allocations: 6.468 MB / 0.74 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007435/1.298, allocations: 89.5 kB / 0.7401 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002406/1.301, allocations: 5.367 MB / 0.7453 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/1.302, allocations: 1.542 MB / 0.7468 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002626/1.305, allocations: 2.133 MB / 0.7489 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.888e-05/1.305, allocations: 305.1 kB / 0.7492 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005129/1.31, allocations: 4.34 MB / 0.7534 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007366/1.317, allocations: 10.28 MB / 0.7635 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/1.331, allocations: 15.66 MB / 0.7788 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.331, allocations: 60 kB / 0.7788 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03064/1.362, allocations: 16.36 MB / 0.7948 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.362, allocations: 94.34 kB / 0.7949 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002171/1.362, allocations: 208.9 kB / 0.7951 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00698/1.369, allocations: 2.367 MB / 0.7974 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008228/1.377, allocations: 2.472 MB / 0.7998 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/1.395, allocations: 12.76 MB / 0.8123 GB, free: 93.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00897/1.404, allocations: 0.5814 MB / 0.8128 GB, free: 93.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.406, allocations: 0.6039 MB / 0.8134 GB, free: 92.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1316): * Single equations (assignments): 1309 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006434/1.412, allocations: 3.761 MB / 0.8171 GB, free: 88.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.414, allocations: 0.5939 MB / 0.8177 GB, free: 88.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/1.429, allocations: 8.334 MB / 0.8258 GB, free: 79.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.134e-05/1.429, allocations: 63.98 kB / 0.8259 GB, free: 79.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/1.429, allocations: 8 kB / 0.8259 GB, free: 79.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.749e-05/1.429, allocations: 19.88 kB / 0.8259 GB, free: 79.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03832/1.467, allocations: 18.83 MB / 0.8443 GB, free: 60.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/1.467, allocations: 12 kB / 0.8443 GB, free: 60.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0029/1.47, allocations: 0.6249 MB / 0.8449 GB, free: 60.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006269/1.477, allocations: 1.818 MB / 0.8467 GB, free: 58.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008438/1.478, allocations: 79.98 kB / 0.8468 GB, free: 58.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/1.492, allocations: 10.82 MB / 0.8573 GB, free: 47.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.492, allocations: 15.94 kB / 0.8574 GB, free: 47.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.512, allocations: 12.47 MB / 0.8695 GB, free: 34.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/1.514, allocations: 0.6301 MB / 0.8702 GB, free: 33.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.515, allocations: 76 kB / 0.8702 GB, free: 33.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/1.518, allocations: 199.7 kB / 0.8704 GB, free: 33.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006633/1.519, allocations: 265.3 kB / 0.8707 GB, free: 33.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002709/1.519, allocations: 116 kB / 0.8708 GB, free: 33.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005966/1.525, allocations: 4.028 MB / 0.8747 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/1.525, allocations: 0 / 0.8747 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0109/1.536, allocations: 1.953 MB / 0.8766 GB, free: 27.21 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009621/1.537, allocations: 288.7 kB / 0.8769 GB, free: 26.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01581/1.553, allocations: 10.18 MB / 0.8868 GB, free: 16.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/1.553, allocations: 4 kB / 0.8868 GB, free: 16.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/1.558, allocations: 3.38 MB / 0.8901 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/1.562, allocations: 0.8014 MB / 0.8909 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3014/1.864, allocations: 17.65 MB / 0.9082 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01618/1.88, allocations: 5.584 MB / 0.9136 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01365/1.894, allocations: 3.317 MB / 0.9168 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002879/1.897, allocations: 420.3 kB / 0.9172 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of SimCode: time 2.645e-06/1.897, allocations: 0.8438 kB / 0.9172 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1144/2.011, allocations: 66.08 MB / 0.9818 GB, free: 111.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches