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.001533/0.001533, allocations: 113 kB / 21.17 MB, free: 0.6133 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.001685/0.001685, allocations: 205.7 kB / 24.46 MB, free: 4.023 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.4/1.4, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.001966/0.001966, allocations: 63.91 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2353, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01472/0.2501, allocations: 11.94 MB / 444 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.2577, allocations: 4.009 MB / 448 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.2595, allocations: 67.75 kB / 448.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.2621, allocations: 0.8889 MB / 449 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.2653, allocations: 1.033 MB / 450 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2668, allocations: 0.538 MB / 450.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004673/0.2715, allocations: 3.467 MB / 454 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.274, allocations: 1.533 MB / 455.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.2764, allocations: 1.55 MB / 457.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.2795, allocations: 1.989 MB / 459.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007457/0.2802, allocations: 408 kB / 459.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.2816, allocations: 0.6441 MB / 460.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.2828, allocations: 1.169 MB / 461.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.2851, allocations: 1.843 MB / 463.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006529/0.2917, allocations: 5.403 MB / 468.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2917, allocations: 4 kB / 468.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2917, allocations: 0 / 468.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001313/0.2918, allocations: 7.938 kB / 468.6 MB, free: 2.676 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.00878/0.3006, allocations: 3.809 MB / 472.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3006, allocations: 16.03 kB / 472.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.3024, allocations: 486.5 kB / 472.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.3065, allocations: 1.994 MB / 474.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.3067, allocations: 197.4 kB / 475 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/0.3072, allocations: 271.9 kB / 475.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006398/0.3136, allocations: 3.521 MB / 478.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/0.3137, allocations: 11.94 kB / 478.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.3139, allocations: 112 kB / 478.9 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.3141, allocations: 121.2 kB / 479.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00542/0.3195, allocations: 2.96 MB / 482 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.3392, allocations: 11.01 MB / 493 MB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.3424, allocations: 2.187 MB / 495.2 MB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.3445, allocations: 1.102 MB / 496.3 MB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/0.3449, allocations: 207.5 kB / 496.5 MB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.3449, allocations: 47.81 kB / 496.6 MB, free: 5.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.636e-06/0.3449, allocations: 0 / 496.6 MB, free: 5.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01749/0.3624, allocations: 7.549 MB / 0.4923 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.3625, allocations: 68.72 kB / 0.4924 GB, free: 14.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.3661, allocations: 1.984 MB / 0.4943 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.3663, allocations: 57.69 kB / 0.4944 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.3675, allocations: 1.35 MB / 0.4957 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.3681, allocations: 0.5346 MB / 0.4962 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/0.3687, allocations: 327.5 kB / 0.4965 GB, free: 9.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3688, allocations: 301.1 kB / 0.4968 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.3705, allocations: 0.8862 MB / 0.4977 GB, free: 8.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.3725, allocations: 1.375 MB / 0.499 GB, free: 7.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.3763, allocations: 2.373 MB / 0.5013 GB, free: 4.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.3764, allocations: 4 kB / 0.5013 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005753/0.3821, allocations: 2.991 MB / 0.5043 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.3821, allocations: 12 kB / 0.5043 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.3822, allocations: 12 kB / 0.5043 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.3834, allocations: 465.5 kB / 0.5047 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.3852, allocations: 435.3 kB / 0.5051 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007595/0.3928, allocations: 6.096 MB / 0.5111 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.3945, allocations: 123.8 kB / 0.5112 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.3948, allocations: 84.05 kB / 0.5113 GB, free: 9.945 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.00172/0.3965, allocations: 0.8485 MB / 0.5121 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/0.3972, allocations: 226.5 kB / 0.5123 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005121/0.4023, allocations: 2.583 MB / 0.5149 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/0.4023, allocations: 19.98 kB / 0.5149 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.4024, allocations: 4 kB / 0.5149 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.4024, allocations: 7.984 kB / 0.5149 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.4138, allocations: 5.61 MB / 0.5204 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.4138, allocations: 4 kB / 0.5204 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.4151, allocations: 283.9 kB / 0.5206 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.4166, allocations: 0.4902 MB / 0.5211 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.4167, allocations: 39.98 kB / 0.5212 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009083/0.4258, allocations: 7.686 MB / 0.5287 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4258, allocations: 4 kB / 0.5287 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/0.4328, allocations: 3.844 MB / 0.5324 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.4342, allocations: 487.7 kB / 0.5329 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005338/0.4347, allocations: 35.98 kB / 0.5329 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.4361, allocations: 103.9 kB / 0.533 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.4364, allocations: 117.1 kB / 0.5331 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.4366, allocations: 51.97 kB / 0.5332 GB, free: 2.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002617/0.4392, allocations: 1.368 MB / 0.5345 GB, free: 1.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4392, allocations: 0 / 0.5345 GB, free: 1.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002334/0.4415, allocations: 0.582 MB / 0.5351 GB, free: 0.8242 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.000565/0.4421, allocations: 217.8 kB / 0.5353 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.18/0.6221, allocations: 2.516 MB / 0.5377 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.6221, allocations: 1.906 kB / 0.5377 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.6246, allocations: 1.539 MB / 0.5392 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.6269, allocations: 498.2 kB / 0.5397 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.6351, allocations: 5.777 MB / 0.5454 GB, free: 98.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.6364, allocations: 2.111 MB / 0.5474 GB, free: 97.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/0.637, allocations: 153.2 kB / 0.5476 GB, free: 97.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.637, allocations: 0 / 0.5476 GB, free: 97.76 MB / 446.1 MB Notification: Performance of Templates: time 0.05822/0.6952, allocations: 75.99 MB / 0.6218 GB, free: 25.47 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_2/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_2/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: 13.710507325362414]