Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.00151/0.00151, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.001555/0.001555, allocations: 156.5 kB / 24.23 MB, free: 328 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.012/1.012, allocations: 177 MB / 204.4 MB, free: 5.562 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.2619/0.2619, allocations: 34.86 MB / 295.8 MB, free: 0.5586 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.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 378 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.156e-05, allocations: 6.953 kB / 378.1 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01126/0.01129, allocations: 11.78 MB / 389.8 MB, free: 6.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006825/0.01811, allocations: 3.94 MB / 393.8 MB, free: 2.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.01912, allocations: 83.44 kB / 393.9 MB, free: 2.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.02057, allocations: 0.8505 MB / 394.7 MB, free: 1.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.02219, allocations: 1.071 MB / 395.8 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.02295, allocations: 0.5382 MB / 396.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.02539, allocations: 3.59 MB / 399.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.02675, allocations: 1.502 MB / 401.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.0285, allocations: 2.327 MB / 403.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.02996, allocations: 1.82 MB / 405.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.03028, allocations: 408 kB / 406 MB, free: 6.266 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.03096, allocations: 0.6205 MB / 406.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008479/0.03181, allocations: 1.211 MB / 407.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009551/0.03277, allocations: 1.282 MB / 409.1 MB, free: 3.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.03539, allocations: 3.057 MB / 412.1 MB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0354, allocations: 0 / 412.1 MB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0354, allocations: 0 / 412.1 MB, free: 80 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.03542, allocations: 0 / 412.1 MB, free: 80 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004324/0.03975, allocations: 3.918 MB / 416 MB, free: 12.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.03979, allocations: 8.031 kB / 416.1 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.04092, allocations: 0.6861 MB / 416.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.04291, allocations: 1.827 MB / 418.6 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.04302, allocations: 201.5 kB / 418.8 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.04329, allocations: 271.9 kB / 419 MB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.04603, allocations: 2.198 MB / 421.2 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.04607, allocations: 4 kB / 421.2 MB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.04627, allocations: 108 kB / 421.3 MB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.616e-05/0.04636, allocations: 125.2 kB / 421.5 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.04814, allocations: 1.003 MB / 422.5 MB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008493/0.05663, allocations: 9.188 MB / 431.6 MB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.05774, allocations: 0.8349 MB / 432.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.0585, allocations: 0.5471 MB / 433 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.05866, allocations: 53.28 kB / 433.1 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.0587, allocations: 54.7 kB / 433.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.685e-06/0.0587, allocations: 0 / 433.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.005614/0.06431, allocations: 3.689 MB / 436.8 MB, free: 6.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.06436, allocations: 76.64 kB / 436.9 MB, free: 6.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.06591, allocations: 1.607 MB / 438.5 MB, free: 5.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.06598, allocations: 49.7 kB / 438.6 MB, free: 4.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000744/0.06672, allocations: 1.444 MB / 440 MB, free: 3.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.06703, allocations: 0.5463 MB / 440.5 MB, free: 2.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003447/0.06738, allocations: 329.1 kB / 440.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.06747, allocations: 480.7 kB / 441.3 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.06793, allocations: 275.8 kB / 441.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.06901, allocations: 0.9557 MB / 442.6 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1773/0.2463, allocations: 1.374 MB / 443.9 MB, free: 96.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.2463, allocations: 5.625 kB / 443.9 MB, free: 96.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002879/0.2492, allocations: 1.628 MB / 445.6 MB, free: 96.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.2492, allocations: 11.41 kB / 445.6 MB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.2492, allocations: 18.38 kB / 445.6 MB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007759/0.25, allocations: 316.7 kB / 445.9 MB, free: 96.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.2508, allocations: 418.8 kB / 446.3 MB, free: 96.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.2537, allocations: 5.112 MB / 451.4 MB, free: 92.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/0.2546, allocations: 114.7 kB / 451.5 MB, free: 92.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.2547, allocations: 74.31 kB / 451.6 MB, free: 92.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006137/0.2553, allocations: 273.7 kB / 451.9 MB, free: 92.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.2556, allocations: 253.3 kB / 452.1 MB, free: 92.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.2572, allocations: 1.286 MB / 453.4 MB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.2572, allocations: 18.5 kB / 453.4 MB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2572, allocations: 5.75 kB / 453.4 MB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2572, allocations: 13.11 kB / 453.4 MB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/0.2614, allocations: 3.626 MB / 457.1 MB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.2614, allocations: 5.625 kB / 457.1 MB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.262, allocations: 264.8 kB / 457.3 MB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007876/0.2627, allocations: 369.2 kB / 457.7 MB, free: 90.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/0.2628, allocations: 38.78 kB / 457.7 MB, free: 90.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.266, allocations: 6.919 MB / 464.7 MB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.266, allocations: 7 kB / 464.7 MB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.2681, allocations: 1.872 MB / 466.5 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.2686, allocations: 376.7 kB / 466.9 MB, free: 83.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2687, allocations: 32.75 kB / 466.9 MB, free: 83.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.2692, allocations: 94.59 kB / 467 MB, free: 83.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.2694, allocations: 126.8 kB / 467.2 MB, free: 83.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.2695, allocations: 43.2 kB / 467.2 MB, free: 83.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008835/0.2704, allocations: 0.9354 MB / 468.1 MB, free: 83.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2704, allocations: 0 / 468.1 MB, free: 83.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001309/0.2717, allocations: 0.5861 MB / 468.7 MB, free: 83.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 119 * Array equations: 2 * 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): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003871/0.2721, allocations: 224.8 kB / 468.9 MB, free: 83.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.2739, allocations: 1.518 MB / 470.5 MB, free: 82.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2739, allocations: 7.312 kB / 470.5 MB, free: 82.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.275, allocations: 1.211 MB / 471.7 MB, free: 81.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.2761, allocations: 453.7 kB / 472.1 MB, free: 81.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.2825, allocations: 4.801 MB / 476.9 MB, free: 79.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.2831, allocations: 0.7155 MB / 477.6 MB, free: 79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007432/0.2838, allocations: 364.8 kB / 478 MB, free: 78.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.2842, allocations: 129.8 kB / 478.1 MB, free: 78.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.2842, allocations: 0 / 478.1 MB, free: 78.93 MB / 410.7 MB Notification: Performance of Templates: time 0.03939/0.3236, allocations: 29.68 MB / 0.4959 GB, free: 65.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_cvode.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_cvode.pipe 2>&1) [Timeout 240] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_gbode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_gbode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_gbode.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3530109277926385]