Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.00135/0.00135, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001453/0.001453, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.426/1.426, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.91 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2286, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01181/0.2404, allocations: 9.05 MB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.2468, allocations: 3.139 MB / 444.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.2481, allocations: 71.5 kB / 444.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.25, allocations: 0.6944 MB / 445.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.2526, allocations: 0.8894 MB / 446.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.2537, allocations: 427.4 kB / 446.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003642/0.2573, allocations: 3 MB / 449.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.2592, allocations: 1.325 MB / 451 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.2613, allocations: 1.398 MB / 452.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.2638, allocations: 1.662 MB / 454 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006198/0.2645, allocations: 352 kB / 454.4 MB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.2655, allocations: 467.8 kB / 454.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.2665, allocations: 1.032 MB / 455.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.2682, allocations: 1.303 MB / 457.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.2734, allocations: 4.741 MB / 461.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2734, allocations: 4 kB / 461.9 MB, free: 8.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2735, allocations: 0 / 461.9 MB, free: 8.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.2736, allocations: 4 kB / 461.9 MB, free: 8.848 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007023/0.2806, allocations: 3.272 MB / 465.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2806, allocations: 15.97 kB / 465.2 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.2818, allocations: 382.9 kB / 465.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/0.2856, allocations: 1.709 MB / 467.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.2858, allocations: 176.8 kB / 467.5 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.2862, allocations: 228 kB / 467.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/0.2919, allocations: 3.237 MB / 470.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.2919, allocations: 7.953 kB / 470.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.2922, allocations: 95.98 kB / 471 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.2923, allocations: 108.6 kB / 471.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/0.2973, allocations: 2.696 MB / 473.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.313, allocations: 8.397 MB / 482.2 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.3155, allocations: 1.407 MB / 483.6 MB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.3174, allocations: 1.043 MB / 484.7 MB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.3176, allocations: 48.97 kB / 484.7 MB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.3177, allocations: 51.5 kB / 484.8 MB, free: 1.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.316e-06/0.3177, allocations: 0 / 484.8 MB, free: 1.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01418/0.3319, allocations: 6.349 MB / 491.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3319, allocations: 64.72 kB / 491.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.3344, allocations: 1.611 MB / 492.8 MB, free: 9.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.3346, allocations: 45.7 kB / 492.9 MB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009277/0.3355, allocations: 1.197 MB / 494.1 MB, free: 8.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.336, allocations: 480 kB / 494.5 MB, free: 7.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.3365, allocations: 283.5 kB / 494.8 MB, free: 7.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3366, allocations: 317.1 kB / 495.1 MB, free: 7.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.338, allocations: 0.7925 MB / 495.9 MB, free: 6.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.3396, allocations: 1.193 MB / 497.1 MB, free: 4.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.3427, allocations: 2.102 MB / 499.2 MB, free: 2.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.3427, allocations: 4 kB / 499.2 MB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004827/0.3475, allocations: 2.589 MB / 0.49 GB, free: 44 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.3476, allocations: 11.94 kB / 0.49 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.3476, allocations: 12 kB / 0.49 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.3486, allocations: 415.2 kB / 0.4904 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.3501, allocations: 355.4 kB / 0.4908 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.3576, allocations: 6.654 MB / 0.4973 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.3591, allocations: 111.8 kB / 0.4974 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.3593, allocations: 60 kB / 0.4974 GB, free: 8.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001485/0.3608, allocations: 0.7978 MB / 0.4982 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/0.3612, allocations: 178.9 kB / 0.4984 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.3654, allocations: 2.287 MB / 0.5006 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.3655, allocations: 12 kB / 0.5006 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.3655, allocations: 4 kB / 0.5006 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.3655, allocations: 7.969 kB / 0.5007 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/0.3748, allocations: 4.443 MB / 0.505 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3748, allocations: 0 / 0.505 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.3759, allocations: 239.6 kB / 0.5052 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.3771, allocations: 455.1 kB / 0.5057 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.3773, allocations: 31.98 kB / 0.5057 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008784/0.3861, allocations: 8.077 MB / 0.5136 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3861, allocations: 4 kB / 0.5136 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/0.3921, allocations: 3.427 MB / 0.5169 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.3933, allocations: 358.7 kB / 0.5173 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.3935, allocations: 32.06 kB / 0.5173 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009376/0.3945, allocations: 91.91 kB / 0.5174 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.3948, allocations: 124.7 kB / 0.5175 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.3949, allocations: 39.98 kB / 0.5175 GB, free: 2.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001728/0.3966, allocations: 1.097 MB / 0.5186 GB, free: 1.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3966, allocations: 0 / 0.5186 GB, free: 1.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001893/0.3985, allocations: 0.4999 MB / 0.5191 GB, free: 1.332 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * 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): 4 systems {(3,11,100.0%), (1,1,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.0004351/0.3989, allocations: 198.4 kB / 0.5193 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004262/0.4032, allocations: 2.323 MB / 0.5216 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4032, allocations: 4 kB / 0.5216 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.4059, allocations: 1.54 MB / 0.5231 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.4082, allocations: 425 kB / 0.5235 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009276/0.4175, allocations: 5.116 MB / 0.5285 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.4192, allocations: 1.402 MB / 0.5298 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006606/0.4199, allocations: 135.4 kB / 0.53 GB, free: 5.992 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4199, allocations: 0 / 0.53 GB, free: 5.992 MB / 446.1 MB Notification: Performance of Templates: time 0.2789/0.6988, allocations: 79.88 MB / 0.608 GB, free: 34.9 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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: 13.042153121903539]