Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 206.7 kB / 25.13 MB, free: 3.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2539/0.2539, allocations: 46.94 MB / 362 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 87.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3557, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01966/0.3754, allocations: 16.19 MB / 0.5781 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.3888, allocations: 5.373 MB / 0.5834 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.3925, allocations: 115.4 kB / 0.5835 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.4028, allocations: 4.232 MB / 0.5876 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009603/0.4124, allocations: 2.817 MB / 0.5904 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.4164, allocations: 1.267 MB / 0.5916 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0154/0.4318, allocations: 7.734 MB / 0.5992 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.4425, allocations: 4.733 MB / 0.6038 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006814/0.4493, allocations: 2.718 MB / 0.6064 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007511/0.4568, allocations: 4.089 MB / 0.6104 GB, free: 2.781 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002764/0.4596, allocations: 0.5976 MB / 0.611 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004801/0.4644, allocations: 1.666 MB / 0.6126 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005397/0.4698, allocations: 3.37 MB / 0.6159 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00722/0.477, allocations: 3.767 MB / 0.6196 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.017/0.494, allocations: 12.4 MB / 0.6317 GB, free: 12.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.494, allocations: 0 / 0.6317 GB, free: 12.89 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.494, allocations: 0 / 0.6317 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004367/0.4944, allocations: 3.984 kB / 0.6317 GB, free: 12.89 MB / 478.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.0233/0.5177, allocations: 7.978 MB / 0.6395 GB, free: 4.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.5178, allocations: 8.031 kB / 0.6395 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.534, allocations: 3.989 MB / 0.6434 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.5449, allocations: 4.162 MB / 0.6475 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/0.5454, allocations: 398 kB / 0.6479 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00296/0.5483, allocations: 0.5542 MB / 0.6484 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/0.5943, allocations: 18.93 MB / 0.6669 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004081/0.5947, allocations: 71.45 kB / 0.667 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002486/0.5971, allocations: 247.8 kB / 0.6672 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006317/0.6035, allocations: 3.432 MB / 0.6705 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04129/0.6448, allocations: 16.64 MB / 0.6868 GB, free: 3.262 MB / 0.5137 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.404/1.049, allocations: 66.54 MB / 0.7518 GB, free: 112 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.063, allocations: 5.145 MB / 0.7568 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003797/1.066, allocations: 2.652 MB / 0.7594 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01914/1.086, allocations: 11.26 MB / 0.7704 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/1.086, allocations: 67.72 kB / 0.7704 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 5.851e-06/1.086, allocations: 0 / 0.7704 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.07475/1.16, allocations: 25.1 MB / 0.795 GB, free: 85.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/1.16, allocations: 187.5 kB / 0.7951 GB, free: 85.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006926/1.167, allocations: 5.895 MB / 0.8009 GB, free: 79.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006692/1.168, allocations: 77.53 kB / 0.801 GB, free: 79.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002327/1.17, allocations: 5.146 MB / 0.806 GB, free: 74.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.172, allocations: 1.346 MB / 0.8073 GB, free: 72.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/1.174, allocations: 1.921 MB / 0.8092 GB, free: 71.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/1.174, allocations: 305.1 kB / 0.8095 GB, free: 70.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.178, allocations: 3.361 MB / 0.8128 GB, free: 67.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006541/1.185, allocations: 8.896 MB / 0.8214 GB, free: 55.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/1.197, allocations: 13.19 MB / 0.8343 GB, free: 40.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001636/1.197, allocations: 56 kB / 0.8344 GB, free: 40.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02422/1.221, allocations: 13.03 MB / 0.8471 GB, free: 26.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.222, allocations: 88.97 kB / 0.8472 GB, free: 26.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002504/1.222, allocations: 192 kB / 0.8474 GB, free: 26.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004006/1.226, allocations: 1.321 MB / 0.8487 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006669/1.232, allocations: 2.207 MB / 0.8508 GB, free: 23.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.243, allocations: 7.736 MB / 0.8584 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006721/1.25, allocations: 0.5133 MB / 0.8589 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.251, allocations: 0.5469 MB / 0.8594 GB, free: 14.24 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * 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 (1179): * Single equations (assignments): 1172 * 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.005807/1.257, allocations: 3.455 MB / 0.8628 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.258, allocations: 0.5471 MB / 0.8633 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.269, allocations: 5.381 MB / 0.8686 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/1.269, allocations: 36 kB / 0.8686 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.269, allocations: 8 kB / 0.8686 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/1.269, allocations: 15.94 kB / 0.8686 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03053/1.3, allocations: 13.89 MB / 0.8822 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.405e-05/1.3, allocations: 8 kB / 0.8822 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.302, allocations: 0.4994 MB / 0.8827 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/1.306, allocations: 0.8047 MB / 0.8835 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003838/1.306, allocations: 67.98 kB / 0.8835 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.317, allocations: 5.701 MB / 0.8891 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-05/1.317, allocations: 23.88 kB / 0.8891 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/1.335, allocations: 8.326 MB / 0.8973 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.337, allocations: 0.5079 MB / 0.8978 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009082/1.338, allocations: 68.06 kB / 0.8978 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.34, allocations: 127.9 kB / 0.8979 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005473/1.341, allocations: 236.5 kB / 0.8982 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.341, allocations: 107.9 kB / 0.8983 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006921/1.348, allocations: 3.654 MB / 0.9018 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.348, allocations: 0 / 0.9018 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009596/1.357, allocations: 1.625 MB / 0.9034 GB, free: 0.5195 MB / 0.5919 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.000878/1.358, allocations: 259 kB / 0.9037 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.372, allocations: 7.589 MB / 0.9111 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/1.372, allocations: 4 kB / 0.9111 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004299/1.377, allocations: 2.216 MB / 0.9133 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.381, allocations: 0.6938 MB / 0.9139 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/1.411, allocations: 15.6 MB / 0.9292 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008699/1.42, allocations: 5.152 MB / 0.9342 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007539/1.427, allocations: 2.962 MB / 0.9371 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.429, allocations: 383.3 kB / 0.9375 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of SimCode: time 1.232e-06/1.429, allocations: 0 / 0.9375 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.1266/1.555, allocations: 59.02 MB / 0.9951 GB, free: 2.676 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.995990922907367]