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.001314/0.001314, allocations: 103.9 kB / 19.75 MB, free: 2.656 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.001383/0.001383, allocations: 194.4 kB / 22.93 MB, free: 5.484 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.723/1.723, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.001795/0.001795, allocations: 58.09 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3786, allocations: 49.12 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.0133/0.3919, allocations: 11.85 MB / 406.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.4026, allocations: 4.009 MB / 410.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005558/0.4082, allocations: 57 kB / 410.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.4129, allocations: 0.8843 MB / 411.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007384/0.4203, allocations: 1.02 MB / 412.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.4229, allocations: 0.5385 MB / 412.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007631/0.4305, allocations: 3.449 MB / 416.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004399/0.4349, allocations: 1.514 MB / 417.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004152/0.4391, allocations: 1.535 MB / 419.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00611/0.4452, allocations: 1.984 MB / 421.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.4469, allocations: 409.4 kB / 421.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.4499, allocations: 0.6633 MB / 422.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.4517, allocations: 1.163 MB / 423.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003517/0.4552, allocations: 1.851 MB / 425.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007451/0.4627, allocations: 5.385 MB / 430.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4627, allocations: 0 / 430.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4627, allocations: 3.938 kB / 430.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001272/0.4628, allocations: 4 kB / 430.8 MB, free: 15.41 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.009828/0.4727, allocations: 3.79 MB / 434.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.4727, allocations: 8.031 kB / 434.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.4742, allocations: 458.5 kB / 435.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.4779, allocations: 1.869 MB / 437 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.4781, allocations: 201.4 kB / 437.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.4785, allocations: 267.9 kB / 437.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007456/0.486, allocations: 3.521 MB / 440.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.785e-05/0.486, allocations: 8 kB / 441 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.4863, allocations: 108 kB / 441.1 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.4865, allocations: 121.2 kB / 441.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005937/0.4925, allocations: 2.968 MB / 444.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02154/0.514, allocations: 11 MB / 455.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/0.5173, allocations: 2.19 MB / 457.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.5195, allocations: 1.105 MB / 458.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/0.5198, allocations: 211.5 kB / 458.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.5199, allocations: 43.88 kB / 458.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.667e-06/0.5199, allocations: 0 / 458.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01914/0.539, allocations: 7.525 MB / 466.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.5391, allocations: 68.72 kB / 466.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004648/0.5438, allocations: 1.971 MB / 468.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.544, allocations: 57.64 kB / 468.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.5454, allocations: 1.346 MB / 469.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006834/0.5461, allocations: 0.5307 MB / 470.2 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007754/0.5468, allocations: 331.4 kB / 470.5 MB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.547, allocations: 305.1 kB / 470.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.5488, allocations: 0.8784 MB / 471.7 MB, free: 5.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.5511, allocations: 1.376 MB / 473.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004645/0.5557, allocations: 2.382 MB / 475.4 MB, free: 1.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.413e-05/0.5558, allocations: 8 kB / 475.5 MB, free: 1.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0067/0.5625, allocations: 2.971 MB / 478.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.5625, allocations: 15.98 kB / 478.4 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/0.5626, allocations: 20 kB / 478.5 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.5639, allocations: 462.6 kB / 478.9 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.5656, allocations: 427.3 kB / 479.3 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008883/0.5744, allocations: 6.112 MB / 485.4 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.577, allocations: 127.8 kB / 485.6 MB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004122/0.5775, allocations: 75.92 kB / 485.6 MB, free: 6.879 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.00313/0.5806, allocations: 0.8524 MB / 486.5 MB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/0.5817, allocations: 222.6 kB / 486.7 MB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005939/0.5877, allocations: 2.572 MB / 489.3 MB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/0.5877, allocations: 16 kB / 489.3 MB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.5877, allocations: 4 kB / 489.3 MB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.5877, allocations: 11.97 kB / 489.3 MB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.601, allocations: 5.616 MB / 494.9 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.601, allocations: 4 kB / 494.9 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.6023, allocations: 280.1 kB / 495.2 MB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.6039, allocations: 0.5022 MB / 495.7 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.604, allocations: 35.98 kB / 495.7 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009841/0.6139, allocations: 7.664 MB / 0.4916 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.6139, allocations: 4 kB / 0.4916 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007971/0.6218, allocations: 3.848 MB / 0.4954 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/0.6234, allocations: 491.5 kB / 0.4958 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007446/0.6242, allocations: 39.97 kB / 0.4959 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.6258, allocations: 99.84 kB / 0.496 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/0.6262, allocations: 121 kB / 0.4961 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.6264, allocations: 47.98 kB / 0.4961 GB, free: 15.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003276/0.6297, allocations: 1.356 MB / 0.4975 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6297, allocations: 0 / 0.4975 GB, free: 14.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003339/0.633, allocations: 0.5898 MB / 0.498 GB, free: 13.77 MB / 430.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.0007512/0.6338, allocations: 214.8 kB / 0.4982 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005526/0.6393, allocations: 2.522 MB / 0.5007 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6393, allocations: 0 / 0.5007 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003241/0.6425, allocations: 1.561 MB / 0.5022 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/0.6463, allocations: 0.4908 MB / 0.5027 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.6613, allocations: 5.718 MB / 0.5083 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/0.6649, allocations: 2.14 MB / 0.5104 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002326/0.6672, allocations: 480.9 kB / 0.5108 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008024/0.668, allocations: 139.4 kB / 0.511 GB, free: 296 kB / 430.1 MB Notification: Performance of SimCode: time 2.405e-06/0.668, allocations: 0 / 0.511 GB, free: 296 kB / 430.1 MB Notification: Performance of Templates: time 0.07103/0.7391, allocations: 32.38 MB / 0.5426 GB, free: 15.84 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/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.617009912617505]