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.001704/0.001704, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.002064/0.002064, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.489/1.489, allocations: 230.4 MB / 255.4 MB, free: 14.81 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.002159/0.002159, allocations: 67.84 kB / 374.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1162, allocations: 53.32 MB / 428.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2393/0.3555, allocations: 11.89 MB / 440 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008047/0.3635, allocations: 4.004 MB / 444 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.3659, allocations: 69.34 kB / 444 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.3683, allocations: 0.8909 MB / 444.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.3716, allocations: 1.025 MB / 445.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.373, allocations: 0.5269 MB / 446.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.3775, allocations: 3.458 MB / 449.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.3802, allocations: 1.962 MB / 451.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.383, allocations: 1.548 MB / 453.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.3864, allocations: 1.988 MB / 455.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006239/0.387, allocations: 408.5 kB / 455.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.3884, allocations: 0.6448 MB / 456.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.3896, allocations: 1.166 MB / 457.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.3918, allocations: 1.844 MB / 459.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006452/0.3982, allocations: 5.406 MB / 464.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3982, allocations: 3.984 kB / 464.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3982, allocations: 1.344 kB / 464.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.3983, allocations: 0 / 464.9 MB, free: 7.273 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.008596/0.4069, allocations: 3.815 MB / 468.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.407, allocations: 9.25 kB / 468.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.4089, allocations: 493 kB / 469.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.4131, allocations: 1.993 MB / 471.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.4132, allocations: 202.2 kB / 471.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.4136, allocations: 271 kB / 471.7 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005814/0.4195, allocations: 3.527 MB / 475.2 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.153e-05/0.4195, allocations: 2 kB / 475.2 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.4198, allocations: 108 kB / 475.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.4199, allocations: 122.7 kB / 475.4 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005209/0.4251, allocations: 2.968 MB / 478.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.4434, allocations: 11.01 MB / 489.4 MB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.4464, allocations: 2.185 MB / 491.6 MB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.4484, allocations: 1.09 MB / 492.7 MB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.4487, allocations: 215.4 kB / 492.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.4488, allocations: 51.88 kB / 492.9 MB, free: 15.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.366e-06/0.4488, allocations: 0 / 492.9 MB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01661/0.4654, allocations: 7.541 MB / 0.4887 GB, free: 7.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.4654, allocations: 68.72 kB / 0.4888 GB, free: 7.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.4685, allocations: 1.996 MB / 0.4907 GB, free: 5.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.4686, allocations: 49.69 kB / 0.4908 GB, free: 5.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.4697, allocations: 1.35 MB / 0.4921 GB, free: 3.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00048/0.4702, allocations: 0.5268 MB / 0.4926 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005565/0.4708, allocations: 331.4 kB / 0.4929 GB, free: 2.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4709, allocations: 305.1 kB / 0.4932 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.4725, allocations: 0.886 MB / 0.4941 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.4744, allocations: 1.375 MB / 0.4954 GB, free: 216 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.4781, allocations: 2.377 MB / 0.4978 GB, free: 13.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.4781, allocations: 7.938 kB / 0.4978 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005434/0.4835, allocations: 2.987 MB / 0.5007 GB, free: 10.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.4835, allocations: 16.56 kB / 0.5007 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4836, allocations: 16 kB / 0.5007 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.4847, allocations: 460.8 kB / 0.5012 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.4864, allocations: 431.3 kB / 0.5016 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007489/0.4939, allocations: 6.096 MB / 0.5075 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.4957, allocations: 123.8 kB / 0.5076 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.4959, allocations: 72.08 kB / 0.5077 GB, free: 3.129 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.001603/0.4975, allocations: 0.8564 MB / 0.5085 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/0.498, allocations: 226.5 kB / 0.5088 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/0.5028, allocations: 2.584 MB / 0.5113 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/0.5028, allocations: 22.94 kB / 0.5113 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5028, allocations: 4 kB / 0.5113 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5028, allocations: 9.703 kB / 0.5113 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5132, allocations: 5.611 MB / 0.5168 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.5132, allocations: 8.062 kB / 0.5168 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.5145, allocations: 275.6 kB / 0.5171 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.5158, allocations: 0.4941 MB / 0.5176 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.5159, allocations: 39.97 kB / 0.5176 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008886/0.5248, allocations: 7.685 MB / 0.5251 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/0.5248, allocations: 4 kB / 0.5251 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006601/0.5314, allocations: 3.836 MB / 0.5288 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.5328, allocations: 491.5 kB / 0.5293 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/0.5331, allocations: 36 kB / 0.5293 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5343, allocations: 95.89 kB / 0.5294 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.5345, allocations: 125 kB / 0.5296 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.5346, allocations: 48.05 kB / 0.5296 GB, free: 11.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0022/0.5368, allocations: 1.368 MB / 0.5309 GB, free: 10.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5368, allocations: 0 / 0.5309 GB, free: 10.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002017/0.5389, allocations: 0.582 MB / 0.5315 GB, free: 10.02 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.0004687/0.5393, allocations: 228 kB / 0.5317 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.5438, allocations: 2.515 MB / 0.5342 GB, free: 7.227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5438, allocations: 4.062 kB / 0.5342 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.5466, allocations: 1.544 MB / 0.5357 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.5488, allocations: 0.4907 MB / 0.5362 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.5587, allocations: 5.736 MB / 0.5418 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/0.5609, allocations: 2.112 MB / 0.5438 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/0.5616, allocations: 151.4 kB / 0.544 GB, free: 13.05 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5616, allocations: 0 / 0.544 GB, free: 13.05 MB / 462.1 MB Notification: Performance of Templates: time 0.09557/0.6571, allocations: 75.98 MB / 0.6182 GB, free: 1.109 MB / 0.5137 GB " [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: 14.498560892010573]