Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9586/0.9586, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2774/0.2774, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.975e-05, allocations: 6.312 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01046/0.01048, allocations: 12.95 MB / 389 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00791/0.01839, allocations: 4.746 MB / 393.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.02033, allocations: 111.4 kB / 393.8 MB, free: 2.812 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.0246, allocations: 4.003 MB / 397.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.02861, allocations: 2.305 MB / 400.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.03043, allocations: 1.193 MB / 401.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006363/0.03679, allocations: 7.71 MB / 409 MB, free: 3.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003565/0.04036, allocations: 4.435 MB / 413.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.04347, allocations: 3.2 MB / 416.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.04625, allocations: 3.223 MB / 419.9 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005066/0.04676, allocations: 444 kB / 420.3 MB, free: 8.188 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.04847, allocations: 1.4 MB / 421.7 MB, free: 6.785 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.05007, allocations: 2.673 MB / 424.4 MB, free: 4.105 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.05155, allocations: 1.659 MB / 426 MB, free: 2.441 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005194/0.05675, allocations: 5.804 MB / 431.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.05675, allocations: 8 kB / 431.9 MB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.05675, allocations: 0 / 431.9 MB, free: 12.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.845e-05/0.05683, allocations: 0 / 431.9 MB, free: 12.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007703/0.06453, allocations: 6.846 MB / 438.7 MB, free: 5.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.06458, allocations: 8.031 kB / 438.7 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006255/0.07083, allocations: 3.091 MB / 441.8 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1908/0.2616, allocations: 3.453 MB / 445.3 MB, free: 78.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.2618, allocations: 284.1 kB / 445.5 MB, free: 78.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007181/0.2625, allocations: 386.1 kB / 445.9 MB, free: 78.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009155/0.2717, allocations: 7.329 MB / 453.2 MB, free: 75.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.2718, allocations: 53.84 kB / 453.3 MB, free: 75.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.2721, allocations: 177.9 kB / 453.5 MB, free: 75.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00179/0.2739, allocations: 2.149 MB / 455.6 MB, free: 75.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007023/0.281, allocations: 4.136 MB / 459.8 MB, free: 75.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.3078, allocations: 49.96 MB / 0.4978 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007038/0.3148, allocations: 3.166 MB / 0.5009 GB, free: 36.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.3161, allocations: 0.9091 MB / 0.5018 GB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00668/0.3227, allocations: 5.637 MB / 0.5073 GB, free: 32.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3228, allocations: 57.69 kB / 0.5073 GB, free: 32.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 3.907e-06/0.3228, allocations: 3.844 kB / 0.5073 GB, free: 32.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.05389/0.3767, allocations: 27.11 MB / 0.5338 GB, free: 16.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.3767, allocations: 209.5 kB / 0.534 GB, free: 16.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/0.3807, allocations: 4.065 MB / 0.538 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.3809, allocations: 65.7 kB / 0.538 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.3823, allocations: 3.866 MB / 0.5418 GB, free: 8.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006525/0.383, allocations: 1.048 MB / 0.5428 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.3842, allocations: 1.509 MB / 0.5443 GB, free: 5.898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.3843, allocations: 476.8 kB / 0.5447 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.3858, allocations: 1.001 MB / 0.5457 GB, free: 4.426 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00441/0.3902, allocations: 6.764 MB / 0.5523 GB, free: 11.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008409/0.3986, allocations: 8.519 MB / 0.5607 GB, free: 480 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.007e-05/0.3987, allocations: 37.31 kB / 0.5607 GB, free: 444 kB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01401/0.4127, allocations: 8.531 MB / 0.569 GB, free: 7.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.4127, allocations: 64 kB / 0.5691 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.4128, allocations: 136 kB / 0.5692 GB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007611/0.4205, allocations: 3.627 MB / 0.5727 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.4233, allocations: 1.482 MB / 0.5742 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.4397, allocations: 13.38 MB / 0.5873 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/0.4429, allocations: 487.4 kB / 0.5877 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/0.4434, allocations: 415.8 kB / 0.5881 GB, free: 3.961 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001364/0.4447, allocations: 0.7042 MB / 0.5888 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/0.4453, allocations: 489.2 kB / 0.5893 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007535/0.4529, allocations: 4.539 MB / 0.5937 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.4529, allocations: 29.53 kB / 0.5937 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.4529, allocations: 12 kB / 0.5938 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4529, allocations: 11.95 kB / 0.5938 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.4689, allocations: 10.39 MB / 0.6039 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4689, allocations: 8 kB / 0.6039 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.4697, allocations: 299.6 kB / 0.6042 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006899/0.4766, allocations: 3.237 MB / 0.6074 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.4767, allocations: 51.92 kB / 0.6074 GB, free: 60 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1915/0.6682, allocations: 12.47 MB / 0.6196 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6682, allocations: 10.28 kB / 0.6196 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009215/0.6775, allocations: 5.891 MB / 0.6254 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009268/0.6784, allocations: 437.6 kB / 0.6258 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.6787, allocations: 41.59 kB / 0.6258 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.6799, allocations: 238.9 kB / 0.626 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004218/0.6803, allocations: 208.8 kB / 0.6262 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.6805, allocations: 70.47 kB / 0.6263 GB, free: 128.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00207/0.6825, allocations: 1.818 MB / 0.6281 GB, free: 127.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6825, allocations: 0 / 0.6281 GB, free: 127.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004437/0.687, allocations: 1.59 MB / 0.6296 GB, free: 127.9 MB / 474.7 MB 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004551/0.6874, allocations: 209.5 kB / 0.6298 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006263/0.6937, allocations: 5.121 MB / 0.6348 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6937, allocations: 3.25 kB / 0.6348 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.6962, allocations: 2.207 MB / 0.637 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.698, allocations: 0.5383 MB / 0.6375 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.7113, allocations: 9.941 MB / 0.6472 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.713, allocations: 1.572 MB / 0.6488 GB, free: 121.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002889/0.7159, allocations: 1.69 MB / 0.6504 GB, free: 121.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/0.7165, allocations: 271.6 kB / 0.6507 GB, free: 121.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.354e-06/0.7166, allocations: 0 / 0.6507 GB, free: 121.2 MB / 474.7 MB Notification: Performance of Templates: time 0.07399/0.7905, allocations: 67.9 MB / 0.717 GB, free: 67.14 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3024370721541345]