Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.001367/0.001367, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001297/0.001297, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9394/0.9394, allocations: 177 MB / 204.8 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] 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.28/0.28, allocations: 34.86 MB / 296.3 MB, free: 0.5273 MB / 266.7 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.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.555e-05, allocations: 3.016 kB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.0112/0.01122, allocations: 15.37 MB / 394.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.01623, allocations: 3.807 MB / 397.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008272/0.01706, allocations: 111.4 kB / 398 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.02042, allocations: 3.328 MB / 401.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.02273, allocations: 1.884 MB / 403.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.02329, allocations: 0.507 MB / 403.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.02601, allocations: 4.113 MB / 407.9 MB, free: 4.867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.02818, allocations: 2.571 MB / 410.4 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.03022, allocations: 2.818 MB / 413.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.03294, allocations: 2.978 MB / 416.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005697/0.03351, allocations: 496 kB / 416.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.03461, allocations: 0.8937 MB / 417.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.03589, allocations: 2.369 MB / 420 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.03726, allocations: 1.679 MB / 421.7 MB, free: 6.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004184/0.04144, allocations: 5.305 MB / 427 MB, free: 1.656 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.04145, allocations: 4 kB / 427 MB, free: 1.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04145, allocations: 3.938 kB / 427 MB, free: 1.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.04149, allocations: 4 kB / 427 MB, free: 1.645 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.04258/0.08407, allocations: 13.11 MB / 440.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.08411, allocations: 8.031 kB / 440.1 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/0.08942, allocations: 2.532 MB / 442.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2039/0.2933, allocations: 3.174 MB / 445.8 MB, free: 71.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.2935, allocations: 293.2 kB / 446.1 MB, free: 71.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.2948, allocations: 436.2 kB / 446.5 MB, free: 71.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.3213, allocations: 10.78 MB / 457.3 MB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002794/0.3215, allocations: 54.09 kB / 457.3 MB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008699/0.3224, allocations: 216.9 kB / 457.5 MB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003101/0.3255, allocations: 2.343 MB / 459.9 MB, free: 68.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/0.3489, allocations: 8.041 MB / 467.9 MB, free: 68.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04774/0.3967, allocations: 49.02 MB / 0.5048 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04065/0.4373, allocations: 6.487 MB / 0.5112 GB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.4391, allocations: 0.713 MB / 0.5119 GB, free: 31.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/0.4401, allocations: 355.4 kB / 0.5122 GB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4401, allocations: 61.55 kB / 0.5123 GB, free: 31.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=212): time 5.23e-06/0.4401, allocations: 0 / 0.5123 GB, free: 31.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.07901/0.5191, allocations: 13.3 MB / 0.5252 GB, free: 21.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.5192, allocations: 153.8 kB / 0.5254 GB, free: 21.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004176/0.5234, allocations: 3.915 MB / 0.5292 GB, free: 17.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004659/0.5238, allocations: 65.7 kB / 0.5293 GB, free: 17.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.5253, allocations: 3.778 MB / 0.533 GB, free: 13.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007715/0.5261, allocations: 0.9159 MB / 0.5339 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.5275, allocations: 1.743 MB / 0.5356 GB, free: 11.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.5276, allocations: 476.8 kB / 0.536 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.529, allocations: 0.7892 MB / 0.5368 GB, free: 9.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.5319, allocations: 7.141 MB / 0.5438 GB, free: 15.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007771/0.5396, allocations: 8.849 MB / 0.5524 GB, free: 4.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/0.5398, allocations: 44 kB / 0.5524 GB, free: 4.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01005/0.5498, allocations: 6.296 MB / 0.5586 GB, free: 14.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.5499, allocations: 74.66 kB / 0.5587 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/0.55, allocations: 152 kB / 0.5588 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.5502, allocations: 200 kB / 0.559 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/0.5538, allocations: 1.887 MB / 0.5608 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002241/0.554, allocations: 302.8 kB / 0.5611 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/0.5578, allocations: 0.9198 MB / 0.562 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006571/0.5585, allocations: 0.5457 MB / 0.5626 GB, free: 10.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.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 (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001865/0.5603, allocations: 0.752 MB / 0.5633 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/0.5611, allocations: 473.4 kB / 0.5638 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.5638, allocations: 1.988 MB / 0.5657 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.5638, allocations: 24 kB / 0.5657 GB, free: 7.109 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.5639, allocations: 7.938 kB / 0.5657 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.5639, allocations: 14.14 kB / 0.5657 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009598/0.5735, allocations: 6.496 MB / 0.5721 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.5735, allocations: 12.03 kB / 0.5721 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.575, allocations: 0.6865 MB / 0.5728 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.598e-05/0.5751, allocations: 16 kB / 0.5728 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.5753, allocations: 187.4 kB / 0.573 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.5753, allocations: 15.94 kB / 0.573 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.5753, allocations: 15.94 kB / 0.573 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/0.5796, allocations: 3.396 MB / 0.5763 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/0.5803, allocations: 408.9 kB / 0.5767 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.5806, allocations: 56 kB / 0.5767 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5816, allocations: 104 kB / 0.5768 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.5819, allocations: 280.7 kB / 0.5771 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/0.5821, allocations: 203.7 kB / 0.5773 GB, free: 10.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002387/0.5845, allocations: 1.724 MB / 0.579 GB, free: 9.223 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5845, allocations: 0 / 0.579 GB, free: 9.223 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004359/0.5889, allocations: 1.438 MB / 0.5804 GB, free: 7.789 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004569/0.5893, allocations: 186.8 kB / 0.5806 GB, free: 7.598 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005581/0.5949, allocations: 3.383 MB / 0.5839 GB, free: 4.246 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.5949, allocations: 0 / 0.5839 GB, free: 4.246 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.5966, allocations: 0.9 MB / 0.5848 GB, free: 3.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.5992, allocations: 0.6296 MB / 0.5854 GB, free: 2.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.6139, allocations: 9.132 MB / 0.5943 GB, free: 9.395 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.6156, allocations: 1.384 MB / 0.5956 GB, free: 7.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004638/0.6202, allocations: 2.014 MB / 0.5976 GB, free: 5.961 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/0.6218, allocations: 0.7107 MB / 0.5983 GB, free: 5.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.764e-06/0.6218, allocations: 0 / 0.5983 GB, free: 5.25 MB / 474.7 MB Notification: Performance of Templates: time 0.2126/0.8344, allocations: 51.66 MB / 0.6488 GB, free: 129.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.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.316642903257161]