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.001252/0.001252, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001348/0.001348, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.418/1.418, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.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.001593/0.001593, allocations: 56.06 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2952, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01595/0.3111, allocations: 11.92 MB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008743/0.3199, allocations: 3.951 MB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.3217, allocations: 79.5 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.3243, allocations: 0.8813 MB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.3276, allocations: 1.037 MB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.329, allocations: 0.5342 MB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.334, allocations: 3.447 MB / 445.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.3365, allocations: 1.541 MB / 447.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.3392, allocations: 1.577 MB / 448.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.3426, allocations: 1.985 MB / 450.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007599/0.3433, allocations: 412 kB / 451.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.3448, allocations: 0.7181 MB / 452 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.3461, allocations: 1.165 MB / 453.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.3485, allocations: 1.843 MB / 455 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006868/0.3554, allocations: 5.395 MB / 460.4 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3554, allocations: 0 / 460.4 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3554, allocations: 0 / 460.4 MB, free: 10 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.3555, allocations: 0 / 460.4 MB, free: 10 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.008585/0.3641, allocations: 3.718 MB / 464.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3641, allocations: 8.031 kB / 464.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.3656, allocations: 454.6 kB / 464.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.3695, allocations: 1.906 MB / 466.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.3697, allocations: 201.4 kB / 466.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004521/0.3701, allocations: 267.9 kB / 466.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006195/0.3763, allocations: 3.529 MB / 470.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.3764, allocations: 7.938 kB / 470.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.3766, allocations: 112 kB / 470.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3768, allocations: 121.2 kB / 470.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005344/0.3821, allocations: 2.964 MB / 473.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.401, allocations: 10.83 MB / 484.5 MB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.4036, allocations: 1.506 MB / 486 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.4056, allocations: 1.09 MB / 487.1 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.4059, allocations: 61.25 kB / 487.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.4059, allocations: 51.81 kB / 487.2 MB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.367e-06/0.4059, allocations: 0 / 487.2 MB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.016/0.4219, allocations: 7.097 MB / 494.3 MB, free: 7.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.422, allocations: 68.72 kB / 494.3 MB, free: 7.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.4252, allocations: 1.979 MB / 496.3 MB, free: 5.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.4254, allocations: 45.7 kB / 496.4 MB, free: 5.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.4265, allocations: 1.343 MB / 497.7 MB, free: 4.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.4271, allocations: 0.5345 MB / 498.2 MB, free: 3.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005259/0.4276, allocations: 327.4 kB / 498.5 MB, free: 3.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4277, allocations: 301.1 kB / 498.8 MB, free: 2.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.4293, allocations: 0.8901 MB / 499.7 MB, free: 1.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.4312, allocations: 1.372 MB / 0.4894 GB, free: 416 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.4348, allocations: 2.381 MB / 0.4917 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.4349, allocations: 4 kB / 0.4917 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005578/0.4404, allocations: 2.912 MB / 0.4945 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.4405, allocations: 15.28 kB / 0.4945 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.4405, allocations: 12 kB / 0.4946 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.4418, allocations: 466.4 kB / 0.495 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.4434, allocations: 431.3 kB / 0.4954 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.4505, allocations: 5.897 MB / 0.5012 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.4521, allocations: 123.8 kB / 0.5013 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.4523, allocations: 75.98 kB / 0.5014 GB, free: 3.656 MB / 414.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.001505/0.4538, allocations: 0.8463 MB / 0.5022 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/0.4542, allocations: 222.6 kB / 0.5024 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.4588, allocations: 2.5 MB / 0.5048 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.4589, allocations: 16 kB / 0.5049 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4589, allocations: 4 kB / 0.5049 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.4589, allocations: 7.969 kB / 0.5049 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0099/0.4688, allocations: 5.511 MB / 0.5103 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4688, allocations: 11.92 kB / 0.5103 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.4701, allocations: 279.6 kB / 0.5105 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.4714, allocations: 0.4935 MB / 0.511 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.4715, allocations: 35.98 kB / 0.511 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00854/0.4801, allocations: 7.398 MB / 0.5183 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4801, allocations: 7.938 kB / 0.5183 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006401/0.4865, allocations: 3.753 MB / 0.5219 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.4876, allocations: 418.4 kB / 0.5223 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.4879, allocations: 35.98 kB / 0.5224 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4891, allocations: 99.88 kB / 0.5225 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.4893, allocations: 121 kB / 0.5226 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.4894, allocations: 43.98 kB / 0.5226 GB, free: 13.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00205/0.4915, allocations: 1.363 MB / 0.524 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4915, allocations: 0 / 0.524 GB, free: 11.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001863/0.4933, allocations: 0.5859 MB / 0.5245 GB, free: 11.34 MB / 446.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.0004323/0.4938, allocations: 214.9 kB / 0.5247 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004396/0.4982, allocations: 2.443 MB / 0.5271 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4982, allocations: 4 kB / 0.5271 GB, free: 8.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.5009, allocations: 1.545 MB / 0.5286 GB, free: 7.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.503, allocations: 0.4925 MB / 0.5291 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009901/0.5129, allocations: 5.745 MB / 0.5347 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2081/0.721, allocations: 2.101 MB / 0.5368 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009418/0.7219, allocations: 152.5 kB / 0.5369 GB, free: 106.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/0.7219, allocations: 3.656 kB / 0.5369 GB, free: 106.3 MB / 446.1 MB Notification: Performance of Templates: time 0.06689/0.7888, allocations: 75.7 MB / 0.6109 GB, free: 40.88 MB / 446.1 MB " [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.528118956135586]