Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.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.005375/0.005375, allocations: 109.5 kB / 21.98 MB, free: 5.18 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.001516/0.001516, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.88 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2623, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01518/0.2775, allocations: 11.95 MB / 445.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008858/0.2863, allocations: 4.009 MB / 449.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.2886, allocations: 79.5 kB / 449.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.2916, allocations: 0.8933 MB / 450.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.2959, allocations: 1.041 MB / 451.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.2978, allocations: 0.5421 MB / 451.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005723/0.3035, allocations: 3.46 MB / 455.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002947/0.3064, allocations: 1.538 MB / 456.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.3094, allocations: 1.592 MB / 458.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.3132, allocations: 1.993 MB / 460.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000971/0.3142, allocations: 408 kB / 460.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.3161, allocations: 0.6947 MB / 461.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.3175, allocations: 1.161 MB / 462.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00314/0.3206, allocations: 1.847 MB / 464.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007277/0.3279, allocations: 5.404 MB / 469.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3279, allocations: 0 / 469.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.3279, allocations: 4 kB / 469.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001539/0.3281, allocations: 0 / 469.8 MB, free: 2.188 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.00925/0.3373, allocations: 3.741 MB / 473.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3373, allocations: 15.97 kB / 473.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.3392, allocations: 490.5 kB / 474 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.3435, allocations: 1.914 MB / 475.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.3437, allocations: 201.4 kB / 476.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/0.3444, allocations: 271.9 kB / 476.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008915/0.3534, allocations: 3.525 MB / 479.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.3535, allocations: 3.984 kB / 479.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/0.3539, allocations: 112 kB / 480 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002191/0.3541, allocations: 117.3 kB / 480.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009109/0.3632, allocations: 2.968 MB / 483.1 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.3917, allocations: 10.83 MB / 494 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.3954, allocations: 1.51 MB / 495.5 MB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/0.3983, allocations: 1.094 MB / 496.6 MB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.3986, allocations: 57.25 kB / 496.6 MB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.539e-05/0.3987, allocations: 51.88 kB / 496.7 MB, free: 6.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 5.44e-06/0.3987, allocations: 0 / 496.7 MB, free: 6.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01824/0.417, allocations: 7.097 MB / 0.492 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.417, allocations: 68.72 kB / 0.492 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/0.421, allocations: 1.996 MB / 0.494 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003089/0.4213, allocations: 53.7 kB / 0.494 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.4228, allocations: 1.347 MB / 0.4953 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006466/0.4235, allocations: 0.5267 MB / 0.4959 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007518/0.4242, allocations: 327.5 kB / 0.4962 GB, free: 11.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4244, allocations: 301.1 kB / 0.4965 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.4265, allocations: 0.8901 MB / 0.4973 GB, free: 10.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.4286, allocations: 1.368 MB / 0.4987 GB, free: 8.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/0.4322, allocations: 2.385 MB / 0.501 GB, free: 5.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.4322, allocations: 11.94 kB / 0.501 GB, free: 5.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005508/0.4377, allocations: 2.907 MB / 0.5038 GB, free: 2.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4378, allocations: 8 kB / 0.5038 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.4378, allocations: 16 kB / 0.5039 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.439, allocations: 466.5 kB / 0.5043 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.4406, allocations: 427.3 kB / 0.5047 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007265/0.4479, allocations: 5.893 MB / 0.5105 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.4499, allocations: 119.8 kB / 0.5106 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.4501, allocations: 79.98 kB / 0.5107 GB, free: 11.76 MB / 430.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.001588/0.4516, allocations: 0.8524 MB / 0.5115 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.4522, allocations: 226.5 kB / 0.5117 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.4569, allocations: 2.512 MB / 0.5142 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/0.457, allocations: 16 kB / 0.5142 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.457, allocations: 4 kB / 0.5142 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.457, allocations: 7.969 kB / 0.5142 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.4677, allocations: 5.511 MB / 0.5196 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.4677, allocations: 7.938 kB / 0.5196 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.4689, allocations: 275.6 kB / 0.5198 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.4704, allocations: 0.5009 MB / 0.5203 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.4705, allocations: 35.98 kB / 0.5204 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009292/0.4798, allocations: 7.368 MB / 0.5276 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.4798, allocations: 7.938 kB / 0.5276 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/0.4868, allocations: 3.761 MB / 0.5312 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/0.4882, allocations: 422.3 kB / 0.5316 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.4886, allocations: 32 kB / 0.5317 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.4898, allocations: 99.88 kB / 0.5318 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.4902, allocations: 125 kB / 0.5319 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.4903, allocations: 47.98 kB / 0.5319 GB, free: 5.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002671/0.493, allocations: 1.368 MB / 0.5333 GB, free: 4.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.493, allocations: 0 / 0.5333 GB, free: 4.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002094/0.4951, allocations: 0.582 MB / 0.5338 GB, free: 3.426 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.0004824/0.4956, allocations: 222.9 kB / 0.5341 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004656/0.5002, allocations: 2.442 MB / 0.5364 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.5002, allocations: 0 / 0.5364 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2117/0.7119, allocations: 1.54 MB / 0.5379 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.7148, allocations: 0.4923 MB / 0.5384 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009786/0.7246, allocations: 5.761 MB / 0.544 GB, free: 99.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.7264, allocations: 2.109 MB / 0.5461 GB, free: 98.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.7272, allocations: 156.3 kB / 0.5463 GB, free: 98.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.462e-06/0.7272, allocations: 4 kB / 0.5463 GB, free: 98.19 MB / 446.1 MB Notification: Performance of Templates: time 0.06995/0.7972, allocations: 76 MB / 0.6205 GB, free: 27.65 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.81796495616436]