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.002244/0.002244, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002259/0.002259, allocations: 202.2 kB / 23.72 MB, free: 4.391 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.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.224/0.224, allocations: 46.94 MB / 360.8 MB, free: 3.934 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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 79.86 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3569, allocations: 66.09 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01526/0.3722, allocations: 11.66 MB / 0.5721 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3829, allocations: 4.591 MB / 0.5766 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.3853, allocations: 111.4 kB / 0.5767 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007686/0.393, allocations: 3.633 MB / 0.5802 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00677/0.3997, allocations: 2.23 MB / 0.5824 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.4028, allocations: 1.072 MB / 0.5834 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.4143, allocations: 6.674 MB / 0.59 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006655/0.421, allocations: 3.521 MB / 0.5934 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.4256, allocations: 2.064 MB / 0.5954 GB, free: 284 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005785/0.4314, allocations: 2.784 MB / 0.5981 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001705/0.4331, allocations: 428 kB / 0.5985 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.4368, allocations: 1.35 MB / 0.5999 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003919/0.4407, allocations: 2.54 MB / 0.6023 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004763/0.4455, allocations: 2.128 MB / 0.6044 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.4582, allocations: 8.973 MB / 0.6132 GB, free: 14.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4582, allocations: 0 / 0.6132 GB, free: 14.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4582, allocations: 0 / 0.6132 GB, free: 14.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003398/0.4585, allocations: 0 / 0.6132 GB, free: 14.02 MB / 462.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.01976/0.4783, allocations: 6.525 MB / 0.6195 GB, free: 7.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4784, allocations: 12.03 kB / 0.6196 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002648/0.481, allocations: 0.9121 MB / 0.6204 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03782/0.5188, allocations: 6.051 MB / 0.6264 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.5306, allocations: 4.582 MB / 0.6308 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.5311, allocations: 295.4 kB / 0.6311 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.5327, allocations: 391.7 kB / 0.6315 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.5573, allocations: 11.95 MB / 0.6432 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/0.5575, allocations: 59.52 kB / 0.6432 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006576/0.5581, allocations: 179.8 kB / 0.6434 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004058/0.5622, allocations: 2.147 MB / 0.6455 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02242/0.5846, allocations: 10.12 MB / 0.6554 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08596/0.6705, allocations: 44.54 MB / 0.6989 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/0.6851, allocations: 5.101 MB / 0.7038 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004027/0.6891, allocations: 2.661 MB / 0.7064 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01601/0.7051, allocations: 7.701 MB / 0.714 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/0.7052, allocations: 63.8 kB / 0.714 GB, free: 4.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 6.613e-06/0.7052, allocations: 0 / 0.714 GB, free: 4.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.3842/1.089, allocations: 34.9 MB / 0.7481 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.089, allocations: 209.2 kB / 0.7483 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006793/1.096, allocations: 5.018 MB / 0.7532 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007161/1.097, allocations: 65.61 kB / 0.7533 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.099, allocations: 3.738 MB / 0.7569 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.101, allocations: 1.01 MB / 0.7579 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/1.102, allocations: 1.355 MB / 0.7592 GB, free: 145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/1.102, allocations: 307.1 kB / 0.7595 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/1.106, allocations: 3.023 MB / 0.7625 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004716/1.111, allocations: 6.89 MB / 0.7692 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009413/1.12, allocations: 10.67 MB / 0.7796 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.12, allocations: 42.5 kB / 0.7797 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02301/1.143, allocations: 13.18 MB / 0.7925 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/1.143, allocations: 67.98 kB / 0.7926 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.143, allocations: 132 kB / 0.7927 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.154, allocations: 4.221 MB / 0.7968 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/1.158, allocations: 1.411 MB / 0.7982 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03308/1.191, allocations: 27.94 MB / 0.8255 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/1.197, allocations: 395.5 kB / 0.8259 GB, free: 72.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/1.199, allocations: 404 kB / 0.8263 GB, free: 72.33 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (756): * Single equations (assignments): 750 * 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.004297/1.203, allocations: 2.469 MB / 0.8287 GB, free: 69.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.204, allocations: 464.9 kB / 0.8291 GB, free: 69.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.219, allocations: 8.179 MB / 0.8371 GB, free: 61.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-05/1.219, allocations: 28 kB / 0.8371 GB, free: 61.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-05/1.219, allocations: 12 kB / 0.8372 GB, free: 61.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/1.219, allocations: 11.95 kB / 0.8372 GB, free: 61.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02872/1.247, allocations: 15.9 MB / 0.8527 GB, free: 45.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/1.248, allocations: 7.984 kB / 0.8527 GB, free: 45.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.249, allocations: 296.2 kB / 0.853 GB, free: 44.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009404/1.258, allocations: 3.8 MB / 0.8567 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004478/1.259, allocations: 59.92 kB / 0.8568 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02903/1.288, allocations: 26.73 MB / 0.8829 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.288, allocations: 11.94 kB / 0.8829 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/1.307, allocations: 12.09 MB / 0.8947 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.308, allocations: 440.6 kB / 0.8951 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009383/1.309, allocations: 51.94 kB / 0.8951 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/1.311, allocations: 163.8 kB / 0.8953 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007072/1.312, allocations: 209.8 kB / 0.8955 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/1.312, allocations: 75.98 kB / 0.8956 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004814/1.317, allocations: 3.035 MB / 0.8985 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.317, allocations: 0 / 0.8985 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006211/1.323, allocations: 1.406 MB / 0.8999 GB, free: 12.33 MB / 0.5762 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.02456/1.348, allocations: 12.76 MB / 0.9124 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.363, allocations: 7.918 MB / 0.9201 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.363, allocations: 0 / 0.9201 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/1.369, allocations: 3.28 MB / 0.9233 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.373, allocations: 0.6091 MB / 0.9239 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3808/1.754, allocations: 64.21 MB / 0.9866 GB, free: 229 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/1.758, allocations: 3.409 MB / 0.9899 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004412/1.762, allocations: 2.002 MB / 0.9919 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/1.765, allocations: 2.361 MB / 0.9942 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.353e-06/1.765, allocations: 0 / 0.9942 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/1.933, allocations: 113.6 MB / 1.105 GB, free: 126.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.26/23.2, allocations: 7.844 kB / 1.105 GB, free: 126.9 MB / 0.6544 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/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: 28.588034281972796]