Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001719/0.001719, allocations: 108.6 kB / 21.18 MB, free: 0.7695 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.002005/0.002005, allocations: 185.4 kB / 24.47 MB, free: 4.188 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.429/1.429, allocations: 225.6 MB / 253.3 MB, free: 13.02 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 47.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2682, allocations: 52.2 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01735/0.2856, allocations: 9.482 MB / 433.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006206/0.2918, allocations: 2.987 MB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.2931, allocations: 59.62 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.2951, allocations: 0.6714 MB / 437.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.2979, allocations: 0.8196 MB / 437.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2989, allocations: 355.4 kB / 438.3 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003873/0.3028, allocations: 2.654 MB / 440.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.305, allocations: 1.164 MB / 442.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.307, allocations: 1.223 MB / 443.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.3097, allocations: 1.526 MB / 444.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008191/0.3105, allocations: 312 kB / 445.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3118, allocations: 403.8 kB / 445.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.3132, allocations: 0.8997 MB / 446.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.3157, allocations: 1.404 MB / 447.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005729/0.3214, allocations: 4.091 MB / 451.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3214, allocations: 4 kB / 451.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3214, allocations: 0 / 451.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001453/0.3216, allocations: 0 / 451.9 MB, free: 2.473 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007417/0.329, allocations: 2.842 MB / 454.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.329, allocations: 12.03 kB / 454.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.3302, allocations: 299.2 kB / 455.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.334, allocations: 1.472 MB / 456.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.3341, allocations: 148.4 kB / 456.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006528/0.3348, allocations: 212.1 kB / 456.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006096/0.3409, allocations: 2.736 MB / 459.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-05/0.341, allocations: 11.88 kB / 459.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/0.3414, allocations: 91.92 kB / 459.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.3415, allocations: 95.94 kB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00517/0.3467, allocations: 2.326 MB / 462.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.3622, allocations: 8.185 MB / 470.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.3644, allocations: 1.253 MB / 471.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.3664, allocations: 1.018 MB / 472.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.3666, allocations: 48.91 kB / 472.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.3667, allocations: 47.56 kB / 472.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.915e-06/0.3667, allocations: 0 / 472.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01399/0.3807, allocations: 5.925 MB / 478.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.3807, allocations: 68.41 kB / 478.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.3836, allocations: 1.516 MB / 480.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.3838, allocations: 45.7 kB / 480.3 MB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/0.3847, allocations: 1.005 MB / 481.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.3852, allocations: 440.3 kB / 481.7 MB, free: 4.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004608/0.3856, allocations: 251.5 kB / 481.9 MB, free: 3.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3858, allocations: 361.9 kB / 482.3 MB, free: 3.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.3871, allocations: 0.73 MB / 483 MB, free: 2.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.3887, allocations: 1.059 MB / 484.1 MB, free: 1.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.3916, allocations: 1.879 MB / 486 MB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.3916, allocations: 0 / 486 MB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004382/0.396, allocations: 2.354 MB / 488.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.396, allocations: 8 kB / 488.3 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.396, allocations: 12 kB / 488.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3971, allocations: 411.3 kB / 488.7 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.3984, allocations: 331.5 kB / 489.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.4044, allocations: 4.86 MB / 493.9 MB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.4057, allocations: 95.8 kB / 494 MB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.4059, allocations: 51.98 kB / 494.1 MB, free: 7.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00143/0.4073, allocations: 0.7121 MB / 494.8 MB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.4077, allocations: 166.9 kB / 494.9 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.4121, allocations: 2.129 MB / 497.1 MB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.4121, allocations: 15.98 kB / 497.1 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.4121, allocations: 4 kB / 497.1 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.4121, allocations: 3.984 kB / 497.1 MB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/0.4214, allocations: 4.53 MB / 0.4899 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.4214, allocations: 4 kB / 0.4899 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.4226, allocations: 231.6 kB / 0.4901 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.4239, allocations: 463 kB / 0.4905 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.424, allocations: 35.97 kB / 0.4906 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007758/0.4317, allocations: 6.374 MB / 0.4968 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.4317, allocations: 7.969 kB / 0.4968 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/0.4375, allocations: 3.181 MB / 0.4999 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.4387, allocations: 338.6 kB / 0.5002 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.4391, allocations: 32 kB / 0.5003 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/0.4401, allocations: 75.91 kB / 0.5003 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.4404, allocations: 112.7 kB / 0.5004 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/0.4405, allocations: 35.98 kB / 0.5005 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002001/0.4425, allocations: 1.048 MB / 0.5015 GB, free: 3.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4425, allocations: 0 / 0.5015 GB, free: 3.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001693/0.4442, allocations: 460 kB / 0.5019 GB, free: 2.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0004094/0.4446, allocations: 191 kB / 0.5021 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.4485, allocations: 2.052 MB / 0.5041 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4485, allocations: 0 / 0.5041 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.451, allocations: 1.359 MB / 0.5054 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.4531, allocations: 431.9 kB / 0.5059 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008796/0.4619, allocations: 4.614 MB / 0.5104 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.4639, allocations: 1.803 MB / 0.5121 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.4644, allocations: 115.4 kB / 0.5122 GB, free: 8.086 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4644, allocations: 0 / 0.5122 GB, free: 8.086 MB / 430.1 MB Notification: Performance of Templates: time 0.2614/0.7258, allocations: 70.25 MB / 0.5808 GB, free: 72.37 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 12.846545512089506]