Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 114.7 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 196.2 kB / 21.4 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 55.91 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 52.13 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01586/0.1382, allocations: 11.85 MB / 430.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009169/0.1473, allocations: 3.935 MB / 434.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002976/0.1503, allocations: 63.75 kB / 434.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.1537, allocations: 0.8852 MB / 435.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004658/0.1583, allocations: 1.021 MB / 436.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.1605, allocations: 0.5227 MB / 437.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006147/0.1666, allocations: 3.448 MB / 440.7 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00416/0.1708, allocations: 1.951 MB / 442.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.1739, allocations: 1.55 MB / 444.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.1782, allocations: 1.973 MB / 446.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001637/0.1798, allocations: 408 kB / 446.6 MB, free: 328 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2572/0.437, allocations: 0.6705 MB / 447.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.4386, allocations: 1.157 MB / 448.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002665/0.4413, allocations: 1.841 MB / 450.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007327/0.4486, allocations: 5.382 MB / 455.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4486, allocations: 3.781 kB / 455.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4486, allocations: 0 / 455.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.4488, allocations: 0 / 455.6 MB, free: 12.43 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01113/0.4599, allocations: 3.798 MB / 459.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.46, allocations: 11.17 kB / 459.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.4618, allocations: 455.5 kB / 459.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.4663, allocations: 1.978 MB / 461.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.4664, allocations: 202.4 kB / 462.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005777/0.467, allocations: 265.9 kB / 462.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/0.4729, allocations: 3.522 MB / 465.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.827e-05/0.473, allocations: 10.17 kB / 465.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.4732, allocations: 110.6 kB / 466 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.4734, allocations: 130.4 kB / 466.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/0.4785, allocations: 2.964 MB / 469 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.4967, allocations: 11 MB / 480 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.4994, allocations: 2.184 MB / 482.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.5014, allocations: 1.098 MB / 483.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.5017, allocations: 214.4 kB / 483.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.5018, allocations: 49.91 kB / 483.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.106e-06/0.5018, allocations: 0 / 483.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01655/0.5183, allocations: 7.542 MB / 491.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.5184, allocations: 71.31 kB / 491.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003393/0.5218, allocations: 1.979 MB / 493.2 MB, free: 8.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002857/0.522, allocations: 50.58 kB / 493.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.5233, allocations: 1.347 MB / 494.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006407/0.5239, allocations: 0.5319 MB / 495.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/0.5245, allocations: 323.5 kB / 495.4 MB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5246, allocations: 305.1 kB / 495.7 MB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.5263, allocations: 0.8857 MB / 496.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.5284, allocations: 1.374 MB / 498 MB, free: 3.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.5324, allocations: 2.378 MB / 0.4886 GB, free: 1.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.5324, allocations: 4 kB / 0.4886 GB, free: 1.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006648/0.539, allocations: 2.986 MB / 0.4915 GB, free: 14.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.5391, allocations: 16.97 kB / 0.4916 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.5391, allocations: 12 kB / 0.4916 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.5405, allocations: 472.3 kB / 0.492 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.5423, allocations: 427.6 kB / 0.4924 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/0.5505, allocations: 6.099 MB / 0.4984 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.5528, allocations: 119.8 kB / 0.4985 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/0.5533, allocations: 75.98 kB / 0.4986 GB, free: 7.012 MB / 398.1 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 (199): * Single equations (assignments): 194 * 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.002338/0.5556, allocations: 0.8553 MB / 0.4994 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008685/0.5565, allocations: 222.6 kB / 0.4996 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005509/0.562, allocations: 2.573 MB / 0.5021 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/0.562, allocations: 22.42 kB / 0.5022 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.562, allocations: 8 kB / 0.5022 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.562, allocations: 4.5 kB / 0.5022 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.5755, allocations: 5.615 MB / 0.5076 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5755, allocations: 4 kB / 0.5077 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.5768, allocations: 278.1 kB / 0.5079 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.5784, allocations: 0.4967 MB / 0.5084 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.5786, allocations: 43.97 kB / 0.5084 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009378/0.588, allocations: 7.683 MB / 0.5159 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.588, allocations: 4 kB / 0.5159 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007504/0.5955, allocations: 3.842 MB / 0.5197 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/0.5972, allocations: 487.5 kB / 0.5202 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008589/0.5981, allocations: 32 kB / 0.5202 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.6, allocations: 99.88 kB / 0.5203 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/0.6003, allocations: 120.6 kB / 0.5204 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.6005, allocations: 43.98 kB / 0.5204 GB, free: 92 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003173/0.6037, allocations: 1.356 MB / 0.5218 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6037, allocations: 0 / 0.5218 GB, free: 14.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003319/0.607, allocations: 0.5936 MB / 0.5224 GB, free: 14.12 MB / 430.1 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 (125): * Single equations (assignments): 120 * 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.0007279/0.6077, allocations: 222.8 kB / 0.5226 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005566/0.6133, allocations: 2.529 MB / 0.525 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.6133, allocations: 3.938 kB / 0.525 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/0.6165, allocations: 1.544 MB / 0.5265 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/0.6203, allocations: 495.3 kB / 0.527 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.6336, allocations: 5.727 MB / 0.5326 GB, free: 3.605 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003233/0.6369, allocations: 2.108 MB / 0.5347 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.638, allocations: 151.4 kB / 0.5348 GB, free: 1.316 MB / 430.1 MB Notification: Performance of SimCode: time 2.044e-06/0.638, allocations: 0 / 0.5348 GB, free: 1.316 MB / 430.1 MB Notification: Performance of Templates: time 0.1157/0.7538, allocations: 75.71 MB / 0.6087 GB, free: 5.699 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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: 14.946619532012846]