Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001367/0.001367, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001414/0.001414, allocations: 184.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 51.92 kB / 371 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2913, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01398/0.3052, allocations: 9.796 MB / 432.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.3132, allocations: 3.046 MB / 436 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.3152, allocations: 59.62 kB / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.3177, allocations: 0.66 MB / 436.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.3213, allocations: 0.7921 MB / 437.5 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3229, allocations: 379.4 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.327, allocations: 2.428 MB / 440.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.3294, allocations: 1.041 MB / 441.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.3315, allocations: 1.102 MB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.3339, allocations: 1.343 MB / 443.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005748/0.3345, allocations: 276 kB / 444 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009317/0.3354, allocations: 379.8 kB / 444.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008917/0.3363, allocations: 0.7907 MB / 445.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.3379, allocations: 1.268 MB / 446.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.3422, allocations: 3.66 MB / 450.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3422, allocations: 0 / 450.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3422, allocations: 0 / 450.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.257e-05/0.3423, allocations: 0 / 450.1 MB, free: 3.52 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005213/0.3475, allocations: 2.56 MB / 452.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3475, allocations: 8.031 kB / 452.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.3482, allocations: 275.4 kB / 453 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.3507, allocations: 1.295 MB / 454.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.3508, allocations: 140.2 kB / 454.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.3511, allocations: 194.8 kB / 454.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.3552, allocations: 2.419 MB / 457 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.3553, allocations: 7.953 kB / 457 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.3555, allocations: 79.98 kB / 457.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3556, allocations: 87.69 kB / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.3592, allocations: 1.962 MB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.3729, allocations: 7.637 MB / 466.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.3746, allocations: 1.002 MB / 467.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.3766, allocations: 0.9094 MB / 468.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.3768, allocations: 44.97 kB / 468.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.3769, allocations: 43.56 kB / 468.8 MB, free: 496 kB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.3769, allocations: 7.938 kB / 468.8 MB, free: 488 kB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01361/0.3905, allocations: 5.516 MB / 474.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3906, allocations: 64.41 kB / 474.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.3926, allocations: 1.302 MB / 475.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.3927, allocations: 49.7 kB / 475.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007654/0.3935, allocations: 0.938 MB / 476.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.3939, allocations: 404.5 kB / 477.1 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.3943, allocations: 255.5 kB / 477.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3945, allocations: 361.9 kB / 477.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.3955, allocations: 0.6364 MB / 478.3 MB, free: 6.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.3969, allocations: 1.004 MB / 479.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.3995, allocations: 1.727 MB / 481 MB, free: 3.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3995, allocations: 4 kB / 481 MB, free: 3.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00425/0.4037, allocations: 2.242 MB / 483.3 MB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.4037, allocations: 8 kB / 483.3 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.4038, allocations: 12 kB / 483.3 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.4051, allocations: 0.4916 MB / 483.8 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4062, allocations: 311.5 kB / 484.1 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008055/0.4143, allocations: 6.822 MB / 490.9 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4156, allocations: 83.98 kB / 491 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4157, allocations: 52 kB / 491 MB, free: 9.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00113/0.4168, allocations: 0.6067 MB / 491.6 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.4171, allocations: 155 kB / 491.8 MB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.4208, allocations: 1.957 MB / 493.8 MB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4208, allocations: 12 kB / 493.8 MB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4208, allocations: 7.938 kB / 493.8 MB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4209, allocations: 3.984 kB / 493.8 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007527/0.4284, allocations: 4.077 MB / 497.9 MB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4284, allocations: 4 kB / 497.9 MB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/0.4292, allocations: 188 kB / 498 MB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.4308, allocations: 0.5309 MB / 498.6 MB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/0.4309, allocations: 31.97 kB / 498.6 MB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009287/0.4402, allocations: 8.347 MB / 0.4951 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4402, allocations: 0 / 0.4951 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.4451, allocations: 2.852 MB / 0.4979 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000881/0.446, allocations: 282.9 kB / 0.4981 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.4462, allocations: 35.98 kB / 0.4982 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/0.447, allocations: 63.92 kB / 0.4982 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.4472, allocations: 88.77 kB / 0.4983 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.583e-05/0.4473, allocations: 36.05 kB / 0.4983 GB, free: 5.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.4487, allocations: 0.8995 MB / 0.4992 GB, free: 4.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4487, allocations: 0 / 0.4992 GB, free: 4.641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001571/0.4502, allocations: 432 kB / 0.4996 GB, free: 4.219 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003965/0.4506, allocations: 187.6 kB / 0.4998 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.4544, allocations: 2.007 MB / 0.5018 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4544, allocations: 0 / 0.5018 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.4569, allocations: 1.381 MB / 0.5031 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.4591, allocations: 414.5 kB / 0.5035 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/0.4666, allocations: 4.196 MB / 0.5076 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.4682, allocations: 1.642 MB / 0.5092 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.4693, allocations: 320.8 kB / 0.5095 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.4695, allocations: 103.4 kB / 0.5096 GB, free: 9.781 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4695, allocations: 0 / 0.5096 GB, free: 9.781 MB / 430.1 MB Notification: Performance of Templates: time 0.04919/0.5187, allocations: 25.21 MB / 0.5342 GB, free: 0.8164 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 5.848700417205691]