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.001915/0.001915, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002499/0.002499, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.515/1.515, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001809/0.001809, allocations: 51.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3136, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0121/0.3257, allocations: 8.327 MB / 431.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.3326, allocations: 2.804 MB / 434.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.3343, allocations: 59.62 kB / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.3363, allocations: 0.6246 MB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.3392, allocations: 0.8118 MB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.3402, allocations: 351.5 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.3443, allocations: 2.654 MB / 438.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.3463, allocations: 1.125 MB / 439.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.3489, allocations: 1.226 MB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.3524, allocations: 1.459 MB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007117/0.3531, allocations: 308 kB / 442.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.3542, allocations: 391.8 kB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.3552, allocations: 0.8998 MB / 444.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.3569, allocations: 1.136 MB / 445.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.3623, allocations: 4.122 MB / 449.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3623, allocations: 0 / 449.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3623, allocations: 0 / 449.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.517e-05/0.3624, allocations: 0 / 449.4 MB, free: 4.027 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.006273/0.3687, allocations: 2.845 MB / 452.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3688, allocations: 8.031 kB / 452.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008033/0.3696, allocations: 303.2 kB / 452.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.3727, allocations: 1.468 MB / 454 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.3729, allocations: 152.4 kB / 454.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.3732, allocations: 220 kB / 454.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.3785, allocations: 2.836 MB / 457.2 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/0.3786, allocations: 7.953 kB / 457.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.3788, allocations: 80 kB / 457.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.3789, allocations: 99.92 kB / 457.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004219/0.3831, allocations: 2.315 MB / 459.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.3972, allocations: 7.262 MB / 466.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.3993, allocations: 1.239 MB / 468.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.4013, allocations: 1.015 MB / 469.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.4015, allocations: 44.91 kB / 469.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.4016, allocations: 47.56 kB / 469.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.547e-06/0.4016, allocations: 0 / 469.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01391/0.4155, allocations: 5.918 MB / 475.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.4155, allocations: 64.41 kB / 475.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.418, allocations: 1.38 MB / 476.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.4182, allocations: 49.7 kB / 476.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009049/0.4191, allocations: 1.012 MB / 477.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.4195, allocations: 432.3 kB / 478.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.4199, allocations: 255.5 kB / 478.4 MB, free: 6.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.4202, allocations: 361.9 kB / 478.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4215, allocations: 0.73 MB / 479.5 MB, free: 5.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.423, allocations: 1.063 MB / 480.5 MB, free: 4.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.4259, allocations: 1.875 MB / 482.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.4259, allocations: 4 kB / 482.4 MB, free: 2.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004352/0.4303, allocations: 2.338 MB / 484.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4303, allocations: 18.84 kB / 484.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.4303, allocations: 11.98 kB / 484.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009916/0.4313, allocations: 407.1 kB / 485.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.4326, allocations: 331.5 kB / 485.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005986/0.4385, allocations: 4.772 MB / 490.3 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.44, allocations: 87.91 kB / 490.3 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.4401, allocations: 51.98 kB / 490.4 MB, free: 9.941 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.001463/0.4415, allocations: 0.7198 MB / 491.1 MB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.4419, allocations: 159 kB / 491.3 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/0.4461, allocations: 2.116 MB / 493.4 MB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.4461, allocations: 15.92 kB / 493.4 MB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4461, allocations: 4 kB / 493.4 MB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.4461, allocations: 3.984 kB / 493.4 MB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008515/0.4547, allocations: 4.039 MB / 497.5 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4547, allocations: 4 kB / 497.5 MB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009627/0.4556, allocations: 219.7 kB / 497.7 MB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4569, allocations: 467.1 kB / 498.1 MB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.457, allocations: 35.97 kB / 498.2 MB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/0.4643, allocations: 6.268 MB / 0.4926 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4643, allocations: 8.094 kB / 0.4926 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005647/0.4699, allocations: 3.169 MB / 0.4957 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.4711, allocations: 314.9 kB / 0.496 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.4713, allocations: 28 kB / 0.496 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.4722, allocations: 75.91 kB / 0.4961 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.4725, allocations: 112.7 kB / 0.4962 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/0.4726, allocations: 31.98 kB / 0.4962 GB, free: 7.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.4742, allocations: 0.935 MB / 0.4972 GB, free: 6.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4742, allocations: 4 kB / 0.4972 GB, free: 6.734 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00165/0.4758, allocations: 459.9 kB / 0.4976 GB, free: 6.285 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.0004256/0.4763, allocations: 190.9 kB / 0.4978 GB, free: 6.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003862/0.4801, allocations: 2.053 MB / 0.4998 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.4801, allocations: 4 kB / 0.4998 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/0.4825, allocations: 1.362 MB / 0.5011 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.4844, allocations: 383.8 kB / 0.5015 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008002/0.4924, allocations: 4.54 MB / 0.5059 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.494, allocations: 1.245 MB / 0.5071 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.4952, allocations: 376.5 kB / 0.5075 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.4955, allocations: 111.4 kB / 0.5076 GB, free: 11.85 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4955, allocations: 0 / 0.5076 GB, free: 11.85 MB / 430.1 MB Notification: Performance of Templates: time 0.05065/0.5462, allocations: 27.18 MB / 0.5341 GB, free: 1.059 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/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: 6.086518842726946]