Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009602/0.0009602, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.0009579/0.0009579, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1416/0.1416, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.129e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01061/0.01064, allocations: 13.05 MB / 360.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.02138, allocations: 4.744 MB / 365.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.02391, allocations: 107.4 kB / 365.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004841/0.02875, allocations: 4.026 MB / 369.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.03456, allocations: 2.34 MB / 371.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.03705, allocations: 1.208 MB / 373.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009185/0.04624, allocations: 7.154 MB / 380.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007001/0.05324, allocations: 4.462 MB / 384.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007885/0.06112, allocations: 3.902 MB / 388.7 MB, free: 272 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006332/0.06746, allocations: 3.137 MB / 391.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.06932, allocations: 432 kB / 392.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.07231, allocations: 1.412 MB / 393.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.07489, allocations: 2.696 MB / 396.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.07863, allocations: 1.663 MB / 398 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00928/0.08791, allocations: 5.831 MB / 403.8 MB, free: 1.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.08791, allocations: 0 / 403.8 MB, free: 1.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.08792, allocations: 0 / 403.8 MB, free: 1.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000329/0.08825, allocations: 0 / 403.8 MB, free: 1.062 MB / 330.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.01226/0.1005, allocations: 6.783 MB / 410.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.1006, allocations: 12.03 kB / 410.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006808/0.1074, allocations: 3.025 MB / 413.6 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006607/0.114, allocations: 3.343 MB / 417 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.1142, allocations: 283.7 kB / 417.3 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008451/0.115, allocations: 384.1 kB / 417.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.1287, allocations: 7.28 MB / 424.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.1289, allocations: 55.52 kB / 425 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004557/0.1294, allocations: 179.8 kB / 425.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/0.1313, allocations: 2.089 MB / 427.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.1422, allocations: 3.816 MB / 431.1 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2788/0.421, allocations: 50.28 MB / 481.3 MB, free: 41.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007565/0.4286, allocations: 2.653 MB / 484 MB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4297, allocations: 0.6228 MB / 484.6 MB, free: 41.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.4398, allocations: 5.166 MB / 489.8 MB, free: 40.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.4399, allocations: 56.16 kB / 489.8 MB, free: 40.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=160): time 5.591e-06/0.4399, allocations: 3.469 kB / 489.8 MB, free: 40.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=192): time 0.04222/0.4821, allocations: 19.02 MB / 0.4969 GB, free: 32.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.4822, allocations: 207.5 kB / 0.4971 GB, free: 32.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/0.4879, allocations: 4.366 MB / 0.5014 GB, free: 28.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004849/0.4883, allocations: 59.2 kB / 0.5014 GB, free: 28.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.491, allocations: 4.048 MB / 0.5054 GB, free: 24.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.4923, allocations: 0.8077 MB / 0.5062 GB, free: 24.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.4938, allocations: 1.488 MB / 0.5076 GB, free: 22.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4939, allocations: 484.7 kB / 0.5081 GB, free: 22.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.4952, allocations: 0.7553 MB / 0.5088 GB, free: 21.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.4991, allocations: 7.035 MB / 0.5157 GB, free: 11.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/0.5058, allocations: 8.513 MB / 0.524 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/0.506, allocations: 44 kB / 0.5241 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.01212/0.5181, allocations: 6.585 MB / 0.5305 GB, free: 10.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.5182, allocations: 68 kB / 0.5306 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/0.5184, allocations: 152 kB / 0.5307 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/0.5214, allocations: 1.366 MB / 0.532 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.5248, allocations: 1.58 MB / 0.5336 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008837/0.5337, allocations: 9.599 MB / 0.543 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/0.5394, allocations: 491.8 kB / 0.5434 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/0.5408, allocations: 416 kB / 0.5438 GB, free: 12.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003092/0.5439, allocations: 0.7234 MB / 0.5445 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/0.5456, allocations: 465.2 kB / 0.545 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.5493, allocations: 2.002 MB / 0.5469 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/0.5493, allocations: 23.98 kB / 0.5469 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.5494, allocations: 11.94 kB / 0.547 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.5494, allocations: 7.969 kB / 0.547 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.564, allocations: 7.223 MB / 0.554 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.564, allocations: 8 kB / 0.554 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/0.5648, allocations: 287.5 kB / 0.5543 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/0.5672, allocations: 1.004 MB / 0.5553 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.5673, allocations: 48.05 kB / 0.5553 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006946/0.5743, allocations: 8.656 MB / 0.5638 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.5743, allocations: 14.44 kB / 0.5638 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/0.5799, allocations: 3.256 MB / 0.567 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/0.5822, allocations: 0.6337 MB / 0.5676 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006783/0.5829, allocations: 39.94 kB / 0.5676 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5841, allocations: 155.8 kB / 0.5678 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.5844, allocations: 152.6 kB / 0.5679 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.5845, allocations: 60 kB / 0.568 GB, free: 3.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00318/0.5877, allocations: 1.928 MB / 0.5699 GB, free: 1.246 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5877, allocations: 0 / 0.5699 GB, free: 1.246 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006252/0.594, allocations: 1.301 MB / 0.5711 GB, free: 15.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000567/0.5945, allocations: 205.2 kB / 0.5713 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006814/0.6013, allocations: 4.183 MB / 0.5754 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.6014, allocations: 0 / 0.5754 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.6034, allocations: 1.544 MB / 0.5769 GB, free: 9.891 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.6065, allocations: 0.5356 MB / 0.5774 GB, free: 9.363 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.6245, allocations: 9.201 MB / 0.5864 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.6267, allocations: 1.512 MB / 0.5879 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003298/0.63, allocations: 1.722 MB / 0.5896 GB, free: 12.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006063/0.6306, allocations: 272.5 kB / 0.5899 GB, free: 12.43 MB / 458.7 MB Notification: Performance of SimCode: time 3.216e-06/0.6306, allocations: 0 / 0.5899 GB, free: 12.43 MB / 458.7 MB Notification: Performance of Templates: time 0.2566/0.8872, allocations: 41.66 MB / 0.6305 GB, free: 156.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.023833070881665]