Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001882/0.001882, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 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.002293/0.002293, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.247, allocations: 53.36 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01178/0.2588, allocations: 8.373 MB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006563/0.2653, allocations: 2.875 MB / 443.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.2667, allocations: 63.62 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.2686, allocations: 0.6246 MB / 444.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.2713, allocations: 0.8118 MB / 445.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009467/0.2722, allocations: 367.5 kB / 445.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.2759, allocations: 2.673 MB / 448.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.2777, allocations: 1.125 MB / 449.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.2799, allocations: 1.234 MB / 450.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.2824, allocations: 1.463 MB / 451.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.283, allocations: 308 kB / 452.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009238/0.2839, allocations: 407.8 kB / 452.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.285, allocations: 0.9036 MB / 453.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.2865, allocations: 1.136 MB / 454.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.2916, allocations: 4.146 MB / 458.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2916, allocations: 0 / 458.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2917, allocations: 4 kB / 458.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001154/0.2918, allocations: 0 / 458.8 MB, free: 12.11 MB / 366.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.006838/0.2986, allocations: 2.857 MB / 461.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2986, allocations: 11.97 kB / 461.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.2998, allocations: 335.1 kB / 462 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.303, allocations: 1.488 MB / 463.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.3032, allocations: 152.4 kB / 463.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.3035, allocations: 207.9 kB / 463.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/0.3088, allocations: 2.836 MB / 466.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.3088, allocations: 11.89 kB / 466.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.309, allocations: 83.98 kB / 466.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.3092, allocations: 99.86 kB / 466.9 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/0.3136, allocations: 2.319 MB / 469.2 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.328, allocations: 7.254 MB / 476.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.3302, allocations: 1.234 MB / 477.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.3323, allocations: 1.012 MB / 478.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.3326, allocations: 52.95 kB / 478.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.3326, allocations: 47.5 kB / 478.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.677e-06/0.3326, allocations: 0 / 478.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01489/0.3475, allocations: 5.924 MB / 484.7 MB, free: 1.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3476, allocations: 64.41 kB / 484.8 MB, free: 1.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.3502, allocations: 1.393 MB / 486.2 MB, free: 236 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.3504, allocations: 45.7 kB / 486.2 MB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009747/0.3514, allocations: 1.024 MB / 487.3 MB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005449/0.352, allocations: 440.3 kB / 487.7 MB, free: 14.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005341/0.3525, allocations: 251.5 kB / 487.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3527, allocations: 365.9 kB / 488.3 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.3541, allocations: 0.73 MB / 489 MB, free: 13.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.3558, allocations: 1.055 MB / 490.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.3589, allocations: 1.883 MB / 492 MB, free: 10.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3589, allocations: 0 / 492 MB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004673/0.3636, allocations: 2.338 MB / 494.3 MB, free: 7.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.3636, allocations: 12 kB / 494.3 MB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.3636, allocations: 8.344 kB / 494.3 MB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3647, allocations: 415.1 kB / 494.7 MB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.366, allocations: 327.5 kB / 495 MB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/0.3721, allocations: 4.775 MB / 499.8 MB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3734, allocations: 91.84 kB / 499.9 MB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.3736, allocations: 48 kB / 500 MB, free: 1.938 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.001445/0.375, allocations: 0.7159 MB / 0.4889 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.3755, allocations: 163 kB / 0.4891 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.3797, allocations: 2.12 MB / 0.4912 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.3797, allocations: 12 kB / 0.4912 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.3797, allocations: 11.94 kB / 0.4912 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3797, allocations: 7.969 kB / 0.4912 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00882/0.3886, allocations: 4.039 MB / 0.4951 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.3886, allocations: 4 kB / 0.4951 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.3896, allocations: 223.7 kB / 0.4954 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.391, allocations: 466.9 kB / 0.4958 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.3911, allocations: 35.92 kB / 0.4958 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007523/0.3986, allocations: 6.264 MB / 0.502 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3986, allocations: 4.031 kB / 0.502 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005818/0.4044, allocations: 3.177 MB / 0.5051 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.4056, allocations: 315 kB / 0.5054 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/0.4059, allocations: 39.92 kB / 0.5054 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009595/0.4069, allocations: 71.92 kB / 0.5055 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4072, allocations: 112.7 kB / 0.5056 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.4073, allocations: 32 kB / 0.5056 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001729/0.409, allocations: 0.947 MB / 0.5065 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.409, allocations: 0 / 0.5065 GB, free: 14.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001634/0.4106, allocations: 463.9 kB / 0.507 GB, free: 14.24 MB / 430.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.0004018/0.411, allocations: 194.8 kB / 0.5072 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.415, allocations: 2.044 MB / 0.5092 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.415, allocations: 1.875 kB / 0.5092 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.4175, allocations: 1.361 MB / 0.5105 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.4196, allocations: 394.7 kB / 0.5109 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008457/0.428, allocations: 4.592 MB / 0.5153 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.4298, allocations: 1.23 MB / 0.5165 GB, free: 4.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/0.4303, allocations: 115.4 kB / 0.5167 GB, free: 4.141 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4303, allocations: 0 / 0.5167 GB, free: 4.141 MB / 430.1 MB Notification: Performance of Templates: time 0.2418/0.6721, allocations: 70.39 MB / 0.5854 GB, free: 61.99 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.045145983807743]