Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001342/0.001342, allocations: 104.8 kB / 21.18 MB, free: 0.5547 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.001378/0.001378, allocations: 185.2 kB / 24.47 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 51.92 kB / 347.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3799, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01353/0.3935, allocations: 11.85 MB / 408.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.4038, allocations: 4.006 MB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.407, allocations: 71.44 kB / 412.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.4105, allocations: 0.8882 MB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.4164, allocations: 1.034 MB / 414.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.4187, allocations: 0.5445 MB / 415.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007387/0.4261, allocations: 3.45 MB / 418.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00307/0.4291, allocations: 1.519 MB / 420.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/0.4333, allocations: 1.567 MB / 421.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005546/0.4389, allocations: 1.98 MB / 423.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001787/0.4407, allocations: 409.2 kB / 424.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.4437, allocations: 0.725 MB / 424.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.4459, allocations: 1.168 MB / 426 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004321/0.4502, allocations: 1.843 MB / 427.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009268/0.4595, allocations: 5.393 MB / 433.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4595, allocations: 0 / 433.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.851e-06/0.4595, allocations: 3.984 kB / 433.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.4597, allocations: 0 / 433.3 MB, free: 14.83 MB / 350.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.01073/0.4704, allocations: 3.714 MB / 437 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4705, allocations: 11.98 kB / 437 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.4722, allocations: 454.6 kB / 437.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.4767, allocations: 1.797 MB / 439.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.4769, allocations: 201.4 kB / 439.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006851/0.4776, allocations: 264 kB / 439.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008008/0.4856, allocations: 3.521 MB / 443.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8e-05/0.4857, allocations: 4 kB / 443.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.486, allocations: 108 kB / 443.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.4862, allocations: 129.2 kB / 443.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.4925, allocations: 2.972 MB / 446.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.5151, allocations: 10.83 MB / 457.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.518, allocations: 1.516 MB / 458.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.5202, allocations: 1.102 MB / 459.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.5205, allocations: 57.25 kB / 459.9 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.885e-05/0.5206, allocations: 47.88 kB / 460 MB, free: 3.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 4.107e-06/0.5206, allocations: 0 / 460 MB, free: 3.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01824/0.5388, allocations: 7.074 MB / 467 MB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.5389, allocations: 72.72 kB / 467.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.5426, allocations: 1.979 MB / 469.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.5428, allocations: 49.7 kB / 469.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.5441, allocations: 1.339 MB / 470.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006729/0.5447, allocations: 0.5307 MB / 471 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/0.5453, allocations: 335.3 kB / 471.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5455, allocations: 301.1 kB / 471.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.5471, allocations: 0.8823 MB / 472.5 MB, free: 6.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.5492, allocations: 1.377 MB / 473.9 MB, free: 5.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.5531, allocations: 2.382 MB / 476.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.5531, allocations: 8 kB / 476.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006188/0.5593, allocations: 2.9 MB / 479.2 MB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.5593, allocations: 12 kB / 479.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/0.5594, allocations: 16 kB / 479.2 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.5607, allocations: 466.5 kB / 479.7 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.5624, allocations: 427.3 kB / 480.1 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007675/0.5701, allocations: 5.906 MB / 486 MB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.5722, allocations: 119.8 kB / 486.1 MB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.5724, allocations: 76 kB / 486.2 MB, free: 8.602 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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.002058/0.5745, allocations: 0.8524 MB / 487 MB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/0.5751, allocations: 222.5 kB / 487.2 MB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/0.5805, allocations: 2.489 MB / 489.7 MB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-05/0.5805, allocations: 23.94 kB / 489.8 MB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.5806, allocations: 4 kB / 489.8 MB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.5806, allocations: 7.969 kB / 489.8 MB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.5936, allocations: 5.505 MB / 495.3 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/0.5936, allocations: 7.938 kB / 495.3 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.595, allocations: 279.5 kB / 495.6 MB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.5966, allocations: 0.4944 MB / 496 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.5967, allocations: 39.98 kB / 496.1 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009552/0.6063, allocations: 7.369 MB / 0.4917 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6063, allocations: 4 kB / 0.4917 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007623/0.6139, allocations: 3.769 MB / 0.4953 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/0.6156, allocations: 414.4 kB / 0.4957 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/0.6161, allocations: 35.98 kB / 0.4958 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.6174, allocations: 95.89 kB / 0.4959 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.6178, allocations: 133 kB / 0.496 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.618, allocations: 47.98 kB / 0.496 GB, free: 2.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002719/0.6207, allocations: 1.352 MB / 0.4974 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6207, allocations: 0 / 0.4974 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002776/0.6235, allocations: 0.5897 MB / 0.4979 GB, free: 284 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * 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.0006419/0.6241, allocations: 228 kB / 0.4981 GB, free: 48 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005088/0.6292, allocations: 2.446 MB / 0.5005 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.6292, allocations: 4 kB / 0.5005 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003252/0.6325, allocations: 1.546 MB / 0.502 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/0.6357, allocations: 0.5018 MB / 0.5025 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.6479, allocations: 5.72 MB / 0.5081 GB, free: 5.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.6506, allocations: 2.136 MB / 0.5102 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001922/0.6526, allocations: 469 kB / 0.5107 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.6532, allocations: 139.4 kB / 0.5108 GB, free: 2.91 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6532, allocations: 4 kB / 0.5108 GB, free: 2.906 MB / 430.1 MB Notification: Performance of Templates: time 0.06819/0.7213, allocations: 32.98 MB / 0.543 GB, free: 1.863 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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: 6.639841740950942]