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.001535/0.001535, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001946/0.001946, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 7.992 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.001988/0.001988, allocations: 55.91 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2632, allocations: 53.4 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01274/0.2759, allocations: 10.34 MB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007056/0.283, allocations: 3.33 MB / 446.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.285, allocations: 75.5 kB / 446.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.2874, allocations: 0.7411 MB / 446.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.291, allocations: 0.8855 MB / 447.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.2926, allocations: 447.2 kB / 448.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004652/0.2973, allocations: 2.988 MB / 451.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.3, allocations: 1.38 MB / 452.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.3026, allocations: 1.39 MB / 454 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/0.3058, allocations: 1.748 MB / 455.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009479/0.3068, allocations: 356 kB / 456.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3083, allocations: 467.8 kB / 456.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.3099, allocations: 1.032 MB / 457.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003091/0.3129, allocations: 1.618 MB / 459.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.3197, allocations: 4.714 MB / 463.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.3197, allocations: 0 / 463.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3197, allocations: 0 / 463.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001757/0.3199, allocations: 0 / 463.9 MB, free: 7.082 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.00828/0.3282, allocations: 3.276 MB / 467.2 MB, free: 3.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3282, allocations: 12.03 kB / 467.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.3297, allocations: 378.8 kB / 467.6 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/0.3338, allocations: 1.705 MB / 469.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.334, allocations: 184.8 kB / 469.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/0.3347, allocations: 235.9 kB / 469.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/0.3417, allocations: 3.133 MB / 472.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.3418, allocations: 15.88 kB / 472.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.3422, allocations: 96 kB / 472.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.3423, allocations: 104.6 kB / 473 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005719/0.348, allocations: 2.692 MB / 475.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.3665, allocations: 9.494 MB / 485.2 MB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.3692, allocations: 1.414 MB / 486.6 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.3711, allocations: 1.039 MB / 487.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.3714, allocations: 56.94 kB / 487.7 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.3714, allocations: 47.56 kB / 487.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 2.985e-06/0.3714, allocations: 0 / 487.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01505/0.3865, allocations: 6.354 MB / 494.1 MB, free: 8.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.3865, allocations: 68.72 kB / 494.2 MB, free: 8.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.3899, allocations: 1.755 MB / 496 MB, free: 6.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.39, allocations: 49.7 kB / 496 MB, free: 6.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.391, allocations: 1.182 MB / 497.2 MB, free: 5.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005019/0.3915, allocations: 484 kB / 497.7 MB, free: 4.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.392, allocations: 279.5 kB / 497.9 MB, free: 4.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3922, allocations: 309.1 kB / 498.2 MB, free: 4.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3936, allocations: 0.8003 MB / 499 MB, free: 3.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.3953, allocations: 1.197 MB / 0.4885 GB, free: 2.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.3985, allocations: 2.098 MB / 0.4906 GB, free: 15.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.3985, allocations: 4 kB / 0.4906 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004996/0.4035, allocations: 2.6 MB / 0.4931 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.4035, allocations: 8 kB / 0.4931 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/0.4036, allocations: 12 kB / 0.4931 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.4046, allocations: 422.9 kB / 0.4935 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4061, allocations: 359.4 kB / 0.4939 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/0.4138, allocations: 6.777 MB / 0.5005 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.4154, allocations: 107.8 kB / 0.5006 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.4157, allocations: 60 kB / 0.5006 GB, free: 5.055 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.001746/0.4174, allocations: 0.7979 MB / 0.5014 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005912/0.418, allocations: 194.8 kB / 0.5016 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0046/0.4226, allocations: 2.292 MB / 0.5039 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.4226, allocations: 15.94 kB / 0.5039 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.4226, allocations: 4 kB / 0.5039 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4227, allocations: 11.91 kB / 0.5039 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.4329, allocations: 4.998 MB / 0.5088 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4329, allocations: 4 kB / 0.5088 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4339, allocations: 240 kB / 0.509 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.4351, allocations: 458.6 kB / 0.5094 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.4353, allocations: 31.98 kB / 0.5095 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009096/0.4443, allocations: 8.227 MB / 0.5175 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.4444, allocations: 7.938 kB / 0.5175 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/0.4505, allocations: 3.439 MB / 0.5209 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.4516, allocations: 366.6 kB / 0.5212 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/0.4521, allocations: 36 kB / 0.5212 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.4533, allocations: 87.89 kB / 0.5213 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.4536, allocations: 120.7 kB / 0.5214 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.4537, allocations: 40 kB / 0.5215 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002335/0.456, allocations: 1.207 MB / 0.5227 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.456, allocations: 0 / 0.5227 GB, free: 13.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002335/0.4584, allocations: 0.5039 MB / 0.5232 GB, free: 13.32 MB / 446.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.0005534/0.4589, allocations: 206.4 kB / 0.5234 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004579/0.4635, allocations: 2.315 MB / 0.5256 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.4635, allocations: 0.875 kB / 0.5256 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/0.4664, allocations: 1.563 MB / 0.5271 GB, free: 9.145 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.4693, allocations: 471.4 kB / 0.5276 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.48, allocations: 5.147 MB / 0.5326 GB, free: 3.465 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.4823, allocations: 1.973 MB / 0.5345 GB, free: 1.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/0.4831, allocations: 139.3 kB / 0.5347 GB, free: 1.324 MB / 446.1 MB Notification: Performance of SimCode: time 1.894e-06/0.4831, allocations: 4 kB / 0.5347 GB, free: 1.32 MB / 446.1 MB Notification: Performance of Templates: time 0.2856/0.7687, allocations: 80.05 MB / 0.6129 GB, free: 31.36 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.825191993964836]