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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.652/1.652, allocations: 207.6 MB / 236 MB, free: 10.86 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 51.92 kB / 348.5 MB, free: 9.621 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2484, allocations: 49.16 MB / 397.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01083/0.2592, allocations: 11.85 MB / 409.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008277/0.2675, allocations: 4.006 MB / 413.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.2698, allocations: 72.44 kB / 413.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.2726, allocations: 0.8884 MB / 414.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.2763, allocations: 1.045 MB / 415.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.2778, allocations: 0.5326 MB / 416 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005137/0.283, allocations: 3.45 MB / 419.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003162/0.2861, allocations: 1.511 MB / 421 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.2893, allocations: 1.572 MB / 422.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/0.2933, allocations: 1.989 MB / 424.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.2945, allocations: 408.9 kB / 424.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.2969, allocations: 0.7195 MB / 425.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002015/0.299, allocations: 1.169 MB / 426.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.3028, allocations: 1.84 MB / 428.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008151/0.311, allocations: 5.396 MB / 434.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.311, allocations: 3.984 kB / 434.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.311, allocations: 0 / 434.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.3112, allocations: 0 / 434.1 MB, free: 14.78 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.01045/0.3216, allocations: 3.718 MB / 437.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3217, allocations: 11.98 kB / 437.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.3237, allocations: 454.6 kB / 438.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.3281, allocations: 1.785 MB / 440 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.3283, allocations: 209.3 kB / 440.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007475/0.3291, allocations: 267.9 kB / 440.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008124/0.3372, allocations: 3.521 MB / 444 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.3373, allocations: 8 kB / 444 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004156/0.3377, allocations: 112 kB / 444.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.3379, allocations: 121.2 kB / 444.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006266/0.3442, allocations: 2.96 MB / 447.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.3653, allocations: 10.83 MB / 458 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.3681, allocations: 1.52 MB / 459.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/0.3703, allocations: 1.102 MB / 460.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.3706, allocations: 57.2 kB / 460.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.3706, allocations: 43.88 kB / 460.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.416e-06/0.3706, allocations: 3.938 kB / 460.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01731/0.3879, allocations: 7.074 MB / 467.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.388, allocations: 68.72 kB / 467.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/0.3918, allocations: 1.979 MB / 469.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.392, allocations: 49.7 kB / 469.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.3931, allocations: 1.339 MB / 471.3 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/0.3938, allocations: 0.5307 MB / 471.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006309/0.3944, allocations: 331.4 kB / 472.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3945, allocations: 305.1 kB / 472.4 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.3961, allocations: 0.8784 MB / 473.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.3982, allocations: 1.373 MB / 474.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.4019, allocations: 2.39 MB / 477.1 MB, free: 2.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.4019, allocations: 4 kB / 477.1 MB, free: 2.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005819/0.4077, allocations: 2.904 MB / 480 MB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.4078, allocations: 12 kB / 480 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.4078, allocations: 16 kB / 480 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.409, allocations: 458.6 kB / 480.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4107, allocations: 431.2 kB / 480.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007382/0.4181, allocations: 5.913 MB / 486.8 MB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.42, allocations: 123.8 kB / 486.9 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/0.4204, allocations: 76 kB / 487 MB, free: 8.551 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.001842/0.4222, allocations: 0.8524 MB / 487.8 MB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006426/0.4228, allocations: 218.6 kB / 488 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/0.4278, allocations: 2.493 MB / 490.5 MB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/0.4278, allocations: 16 kB / 490.5 MB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.4279, allocations: 4 kB / 490.6 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.4279, allocations: 11.97 kB / 490.6 MB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.4391, allocations: 5.504 MB / 496.1 MB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.4392, allocations: 4 kB / 496.1 MB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.4404, allocations: 280.1 kB / 496.3 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.4419, allocations: 0.4941 MB / 496.8 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.442, allocations: 39.98 kB / 496.9 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008656/0.4506, allocations: 7.369 MB / 0.4924 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.4507, allocations: 7.938 kB / 0.4924 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/0.4575, allocations: 3.773 MB / 0.4961 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.4589, allocations: 414.4 kB / 0.4965 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/0.4594, allocations: 35.98 kB / 0.4966 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.4608, allocations: 107.9 kB / 0.4967 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.4612, allocations: 125 kB / 0.4968 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.4613, allocations: 47.98 kB / 0.4968 GB, free: 2.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002575/0.4639, allocations: 1.356 MB / 0.4981 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4639, allocations: 0 / 0.4981 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002417/0.4663, allocations: 0.5936 MB / 0.4987 GB, free: 220 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.0005872/0.4669, allocations: 214.8 kB / 0.4989 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00477/0.4717, allocations: 2.447 MB / 0.5013 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4717, allocations: 0 / 0.5013 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002844/0.4745, allocations: 1.549 MB / 0.5028 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.4775, allocations: 0.4904 MB / 0.5033 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.4891, allocations: 5.774 MB / 0.5089 GB, free: 5.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/0.4915, allocations: 2.108 MB / 0.511 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008255/0.4923, allocations: 147.4 kB / 0.5111 GB, free: 3.293 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4923, allocations: 0 / 0.5111 GB, free: 3.293 MB / 430.1 MB Notification: Performance of Templates: time 0.2655/0.7578, allocations: 75.67 MB / 0.585 GB, free: 140.3 MB / 478.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/jenkins1/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/jenkins1/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: 15.043166696093976]