Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 109.4 kB / 18.4 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 183.1 kB / 19.33 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001179/0.001179, allocations: 47.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07208/0.07327, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.1586/0.2319, allocations: 9.642 MB / 385.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004746/0.2367, allocations: 3.079 MB / 388.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.2379, allocations: 39.31 kB / 388.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.2394, allocations: 0.6347 MB / 389.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.2413, allocations: 0.746 MB / 390 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.2421, allocations: 375.4 kB / 390.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.2447, allocations: 2.461 MB / 392.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.2464, allocations: 1.715 MB / 394.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.2479, allocations: 1.078 MB / 395.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.2497, allocations: 1.31 MB / 396.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.2502, allocations: 279.5 kB / 397.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008106/0.251, allocations: 367.3 kB / 397.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.2517, allocations: 0.7738 MB / 398.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.2527, allocations: 1.271 MB / 399.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.2563, allocations: 3.646 MB / 403.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2563, allocations: 1.375 kB / 403.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2563, allocations: 0 / 403.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.868e-05/0.2564, allocations: 0 / 403.2 MB, free: 15.25 MB / 334.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.004911/0.2613, allocations: 2.576 MB / 405.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2614, allocations: 9.875 kB / 405.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.2621, allocations: 264.5 kB / 406.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.2642, allocations: 1.265 MB / 407.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2643, allocations: 145.7 kB / 407.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.2646, allocations: 196 kB / 407.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.2686, allocations: 2.424 MB / 410.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/0.2687, allocations: 4.219 kB / 410.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.2688, allocations: 75.41 kB / 410.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-05/0.2689, allocations: 94.56 kB / 410.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.2721, allocations: 1.968 MB / 412.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.2832, allocations: 7.759 MB / 420 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.2848, allocations: 1.23 MB / 421.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.2866, allocations: 0.9683 MB / 422.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.2868, allocations: 118.1 kB / 422.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2869, allocations: 55.55 kB / 422.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 2.856e-06/0.2869, allocations: 4 kB / 422.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.0122/0.2991, allocations: 5.851 MB / 428.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2992, allocations: 64.41 kB / 428.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.3011, allocations: 1.298 MB / 429.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.872e-05/0.3012, allocations: 53.7 kB / 429.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.3019, allocations: 0.9237 MB / 430.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.3022, allocations: 390.4 kB / 430.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.3026, allocations: 243.5 kB / 431.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3027, allocations: 357.9 kB / 431.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009349/0.3037, allocations: 0.6402 MB / 432.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.3048, allocations: 1.005 MB / 433.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.3071, allocations: 1.731 MB / 434.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.3071, allocations: 4 kB / 434.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003654/0.3107, allocations: 2.249 MB / 437.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3108, allocations: 8 kB / 437.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.3108, allocations: 12 kB / 437.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.312, allocations: 0.4928 MB / 437.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.313, allocations: 303.5 kB / 438 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.3199, allocations: 7.124 MB / 445.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.3213, allocations: 83.92 kB / 445.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.3215, allocations: 55.98 kB / 445.2 MB, free: 8.836 MB / 366.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.00114/0.3226, allocations: 0.6073 MB / 445.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.323, allocations: 146.2 kB / 446 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.3265, allocations: 1.976 MB / 447.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3265, allocations: 8 kB / 447.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.3266, allocations: 8 kB / 448 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3266, allocations: 3.984 kB / 448 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007223/0.3338, allocations: 4.125 MB / 452.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.3339, allocations: 4 kB / 452.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.3347, allocations: 192 kB / 452.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.3361, allocations: 0.527 MB / 452.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.3362, allocations: 31.98 kB / 452.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008277/0.3445, allocations: 8.765 MB / 461.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3445, allocations: 4 kB / 461.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.3492, allocations: 2.851 MB / 464.5 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/0.35, allocations: 351.3 kB / 464.8 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/0.3505, allocations: 35.98 kB / 464.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/0.3515, allocations: 63.92 kB / 464.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.3517, allocations: 84.86 kB / 465 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/0.3518, allocations: 35.98 kB / 465 MB, free: 4.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001479/0.3533, allocations: 0.8917 MB / 465.9 MB, free: 3.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3533, allocations: 0 / 465.9 MB, free: 3.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001813/0.3551, allocations: 440 kB / 466.3 MB, free: 2.922 MB / 382.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.0003789/0.3555, allocations: 175.7 kB / 466.5 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003392/0.3589, allocations: 2.236 MB / 468.7 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.359, allocations: 0 / 468.7 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.3611, allocations: 1.502 MB / 470.2 MB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.3634, allocations: 419.7 kB / 470.7 MB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/0.3704, allocations: 4.145 MB / 474.8 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.3719, allocations: 1.63 MB / 476.4 MB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.3724, allocations: 107.4 kB / 476.5 MB, free: 8.465 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3724, allocations: 0 / 476.5 MB, free: 8.465 MB / 398.1 MB Notification: Performance of Templates: time 0.07425/0.4467, allocations: 70.87 MB / 0.5346 GB, free: 1.434 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches