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.001038/0.001038, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001244/0.001244, allocations: 156.5 kB / 24.55 MB, free: 20 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 1.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.625 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.2752/0.2752, allocations: 34.86 MB / 296.3 MB, free: 0.543 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 2.204e-06/2.204e-06, allocations: 0 / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.224e-05, allocations: 2.312 kB / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.0126/0.01264, allocations: 15.37 MB / 394.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.02089, allocations: 3.815 MB / 397.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.02343, allocations: 107.4 kB / 398 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004879/0.02831, allocations: 3.321 MB / 401.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.03275, allocations: 1.896 MB / 403.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.03377, allocations: 0.507 MB / 403.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.03852, allocations: 4.105 MB / 407.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.04203, allocations: 2.575 MB / 410.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004949/0.04698, allocations: 3.255 MB / 413.7 MB, free: 15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/0.05084, allocations: 2.513 MB / 416.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.05203, allocations: 448 kB / 416.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.05392, allocations: 0.8545 MB / 417.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.05595, allocations: 2.283 MB / 419.8 MB, free: 8.898 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003059/0.05901, allocations: 1.585 MB / 421.4 MB, free: 7.309 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006719/0.06573, allocations: 5.036 MB / 426.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.06574, allocations: 0 / 426.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.06574, allocations: 0 / 426.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002116/0.06595, allocations: 0 / 426.4 MB, free: 2.254 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.02045/0.0864, allocations: 10.85 MB / 437.3 MB, free: 7.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.08645, allocations: 12.03 kB / 437.3 MB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004372/0.09083, allocations: 2.47 MB / 439.7 MB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/0.09513, allocations: 2.469 MB / 442.2 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.0954, allocations: 299.5 kB / 442.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006061/0.096, allocations: 399.7 kB / 442.9 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1833/0.2793, allocations: 6.492 MB / 449.4 MB, free: 90.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.2795, allocations: 50.95 kB / 449.4 MB, free: 90.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005922/0.2801, allocations: 185.7 kB / 449.6 MB, free: 90.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/0.2817, allocations: 1.746 MB / 451.4 MB, free: 90.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009514/0.2913, allocations: 3.265 MB / 454.6 MB, free: 90.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03043/0.3217, allocations: 44.13 MB / 498.8 MB, free: 54.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/0.3253, allocations: 1.111 MB / 499.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.3257, allocations: 370.4 kB / 0.4885 GB, free: 53.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004069/0.3298, allocations: 3.36 MB / 0.4918 GB, free: 52.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3298, allocations: 49.3 kB / 0.4918 GB, free: 51.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.06e-06/0.3298, allocations: 0 / 0.4918 GB, free: 51.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.00149/0.3313, allocations: 1.037 MB / 0.4928 GB, free: 51.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.3314, allocations: 143.8 kB / 0.493 GB, free: 51.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/0.3367, allocations: 3.994 MB / 0.4969 GB, free: 49.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.3368, allocations: 48.86 kB / 0.4969 GB, free: 49.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002276/0.3391, allocations: 3.959 MB / 0.5008 GB, free: 46.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006389/0.3397, allocations: 0.6022 MB / 0.5014 GB, free: 46.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.3411, allocations: 1.386 MB / 0.5027 GB, free: 45.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.3411, allocations: 484.4 kB / 0.5032 GB, free: 45.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.3422, allocations: 0.5581 MB / 0.5037 GB, free: 45.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/0.3459, allocations: 6.87 MB / 0.5105 GB, free: 36.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006431/0.3523, allocations: 8.211 MB / 0.5185 GB, free: 26.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002224/0.3525, allocations: 43.84 kB / 0.5185 GB, free: 26.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=823) (initialization): time 0.008252/0.3608, allocations: 5.378 MB / 0.5238 GB, free: 24.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.3609, allocations: 74.84 kB / 0.5238 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.361, allocations: 154.2 kB / 0.524 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.3612, allocations: 199.8 kB / 0.5242 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/0.3637, allocations: 1.48 MB / 0.5256 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001895/0.3639, allocations: 295.2 kB / 0.5259 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.3671, allocations: 0.8541 MB / 0.5267 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/0.3674, allocations: 406.5 kB / 0.5271 GB, free: 22.58 MB / 410.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 (799): * Single equations (assignments): 796 * 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.001383/0.3688, allocations: 0.702 MB / 0.5278 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/0.3692, allocations: 397.5 kB / 0.5282 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/0.37, allocations: 0.6927 MB / 0.5289 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.37, allocations: 13.17 kB / 0.5289 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.37, allocations: 4.656 kB / 0.5289 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.37, allocations: 4.594 kB / 0.5289 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006097/0.3761, allocations: 3.865 MB / 0.5327 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3761, allocations: 0 / 0.5327 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/0.3767, allocations: 225.1 kB / 0.5329 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.3767, allocations: 4 kB / 0.5329 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.3768, allocations: 23.33 kB / 0.5329 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.3768, allocations: 8.891 kB / 0.5329 GB, free: 17.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3768, allocations: 3.938 kB / 0.5329 GB, free: 17.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3781, allocations: 1.657 MB / 0.5345 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.3786, allocations: 329 kB / 0.5348 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.3788, allocations: 20 kB / 0.5349 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.3792, allocations: 29.48 kB / 0.5349 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3793, allocations: 72.41 kB / 0.535 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.3794, allocations: 35.11 kB / 0.535 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001939/0.3813, allocations: 1.72 MB / 0.5367 GB, free: 13.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3813, allocations: 4 kB / 0.5367 GB, free: 13.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003975/0.3853, allocations: 1.269 MB / 0.5379 GB, free: 12.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 99 * 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.0002925/0.3856, allocations: 141.8 kB / 0.5381 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.3891, allocations: 2.586 MB / 0.5406 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3891, allocations: 1.75 kB / 0.5406 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.3894, allocations: 322.4 kB / 0.5409 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.3906, allocations: 458 kB / 0.5413 GB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00963/0.4003, allocations: 8.29 MB / 0.5494 GB, free: 1.785 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009438/0.4012, allocations: 1.338 MB / 0.5507 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002365/0.4036, allocations: 1.669 MB / 0.5524 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.4039, allocations: 244.5 kB / 0.5526 GB, free: 15.46 MB / 426.7 MB Notification: Performance of SimCode: time 2.405e-06/0.4039, allocations: 0 / 0.5526 GB, free: 15.46 MB / 426.7 MB Notification: Performance of Templates: time 0.04152/0.4455, allocations: 22.38 MB / 0.5744 GB, free: 9.66 MB / 442.7 MB " [Timeout remaining time 660] 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: 4.186896281782538]