Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.00181/0.00181, allocations: 89.3 kB / 20.68 MB, free: 1.02 MB / 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.001767/0.001767, allocations: 158.4 kB / 23.95 MB, free: 4.152 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.495/1.495, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2415/0.2415, allocations: 34.27 MB / 294.8 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 442.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.678e-05, allocations: 2.281 kB / 442.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2133/0.2133, allocations: 11.65 MB / 454.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009134/0.2225, allocations: 4.624 MB / 458.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.2248, allocations: 110.5 kB / 459 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007147/0.232, allocations: 3.822 MB / 462.9 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.2383, allocations: 2.291 MB / 465.1 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.2409, allocations: 1.172 MB / 466.3 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009634/0.2506, allocations: 7.725 MB / 474 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005368/0.2559, allocations: 4.294 MB / 478.3 MB, free: 352 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006186/0.2621, allocations: 3.177 MB / 481.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00621/0.2683, allocations: 3.16 MB / 484.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00132/0.2697, allocations: 447.9 kB / 485.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.2729, allocations: 1.404 MB / 486.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002971/0.2758, allocations: 2.649 MB / 489.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002655/0.2785, allocations: 1.647 MB / 490.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.2903, allocations: 8.949 MB / 499.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2903, allocations: 0 / 499.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2903, allocations: 4 kB / 499.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002236/0.2905, allocations: 4 kB / 499.8 MB, free: 12.69 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01733/0.3078, allocations: 6.431 MB / 0.4943 GB, free: 6.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3079, allocations: 11.97 kB / 0.4943 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.3202, allocations: 2.653 MB / 0.4969 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008878/0.3291, allocations: 3.824 MB / 0.5007 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.3293, allocations: 283.7 kB / 0.5009 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.3304, allocations: 388.1 kB / 0.5013 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02486/0.3552, allocations: 12.07 MB / 0.5131 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.3554, allocations: 55.53 kB / 0.5132 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005603/0.356, allocations: 183.8 kB / 0.5133 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003827/0.3598, allocations: 2.136 MB / 0.5154 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/0.3841, allocations: 10.34 MB / 0.5255 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07231/0.4564, allocations: 44.05 MB / 0.5685 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/0.4732, allocations: 5.298 MB / 0.5737 GB, free: 2.887 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004522/0.4777, allocations: 2.696 MB / 0.5763 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/0.4947, allocations: 8.038 MB / 0.5842 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/0.4948, allocations: 63.81 kB / 0.5842 GB, free: 8.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.51e-06/0.4948, allocations: 0 / 0.5842 GB, free: 8.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1427/0.6375, allocations: 36.26 MB / 0.6197 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.6377, allocations: 205.9 kB / 0.6199 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007517/0.6452, allocations: 4.69 MB / 0.6244 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006045/0.6458, allocations: 61.7 kB / 0.6245 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003114/0.6489, allocations: 3.667 MB / 0.6281 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/0.6503, allocations: 1.004 MB / 0.6291 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002208/0.6525, allocations: 1.409 MB / 0.6304 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6526, allocations: 313.1 kB / 0.6307 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005368/0.658, allocations: 3.172 MB / 0.6338 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2298/0.8878, allocations: 7.084 MB / 0.6407 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/0.901, allocations: 10.95 MB / 0.6514 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/0.9012, allocations: 38.47 kB / 0.6515 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03078/0.932, allocations: 13.67 MB / 0.6648 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.9322, allocations: 63.69 kB / 0.6649 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001939/0.9323, allocations: 134.3 kB / 0.665 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/0.9451, allocations: 4.382 MB / 0.6693 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/0.9499, allocations: 1.482 MB / 0.6707 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03356/0.9835, allocations: 28.32 MB / 0.6984 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007915/0.9914, allocations: 498.3 kB / 0.6989 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/0.9929, allocations: 412 kB / 0.6993 GB, free: 128.9 MB / 0.5294 GB 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.004634/0.9975, allocations: 2.47 MB / 0.7017 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/0.9986, allocations: 412.2 kB / 0.7021 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.014, allocations: 8.388 MB / 0.7103 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-05/1.014, allocations: 28 kB / 0.7103 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/1.014, allocations: 12 kB / 0.7103 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.322e-05/1.014, allocations: 13.03 kB / 0.7103 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03038/1.045, allocations: 15.32 MB / 0.7253 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/1.045, allocations: 8.062 kB / 0.7253 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.046, allocations: 299.5 kB / 0.7256 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01033/1.056, allocations: 3.963 MB / 0.7294 GB, free: 98.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003988/1.057, allocations: 56.75 kB / 0.7295 GB, free: 98.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03252/1.089, allocations: 27.1 MB / 0.756 GB, free: 70.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.089, allocations: 11.94 kB / 0.756 GB, free: 70.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/1.111, allocations: 12.35 MB / 0.768 GB, free: 58.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.113, allocations: 445.3 kB / 0.7685 GB, free: 58.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.114, allocations: 47.75 kB / 0.7685 GB, free: 58.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/1.117, allocations: 235.6 kB / 0.7687 GB, free: 57.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008945/1.118, allocations: 211.8 kB / 0.7689 GB, free: 57.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003222/1.118, allocations: 73.5 kB / 0.769 GB, free: 57.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00424/1.123, allocations: 2.808 MB / 0.7717 GB, free: 54.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.123, allocations: 0 / 0.7717 GB, free: 54.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00689/1.13, allocations: 1.592 MB / 0.7733 GB, free: 53.13 MB / 0.5294 GB 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.0007016/1.13, allocations: 201.4 kB / 0.7735 GB, free: 52.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.143, allocations: 8.142 MB / 0.7814 GB, free: 44.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.143, allocations: 0 / 0.7814 GB, free: 44.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005187/1.148, allocations: 3.318 MB / 0.7847 GB, free: 41.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/1.152, allocations: 0.5184 MB / 0.7852 GB, free: 40.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.171, allocations: 12.6 MB / 0.7975 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006193/1.178, allocations: 3.394 MB / 0.8008 GB, free: 24.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00468/1.182, allocations: 1.961 MB / 0.8027 GB, free: 22.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.183, allocations: 268.4 kB / 0.803 GB, free: 22.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.233e-06/1.183, allocations: 0 / 0.803 GB, free: 22.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.3345/1.518, allocations: 66.58 MB / 0.868 GB, free: 181.8 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.387648023664951]