Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 218.2 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3561, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01494/0.3711, allocations: 9.515 MB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007902/0.379, allocations: 3.065 MB / 442.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.3811, allocations: 47.81 kB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.3831, allocations: 0.6753 MB / 443.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.3866, allocations: 0.8 MB / 443.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3878, allocations: 383.3 kB / 444.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004152/0.3919, allocations: 2.673 MB / 447 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.3938, allocations: 1.163 MB / 448.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.3959, allocations: 1.215 MB / 449.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.3982, allocations: 1.53 MB / 450.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.3986, allocations: 308 kB / 451.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.3995, allocations: 415.8 kB / 451.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.4005, allocations: 0.8959 MB / 452.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.4023, allocations: 1.415 MB / 453.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.4073, allocations: 4.118 MB / 458 MB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4073, allocations: 0 / 458 MB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4073, allocations: 0 / 458 MB, free: 11.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.528e-05/0.4074, allocations: 0 / 458 MB, free: 11.19 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.006374/0.4138, allocations: 2.929 MB / 460.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4139, allocations: 12.03 kB / 460.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.415, allocations: 331.1 kB / 461.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.418, allocations: 1.572 MB / 462.8 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.4181, allocations: 152.4 kB / 463 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.4185, allocations: 203.9 kB / 463.2 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004956/0.4234, allocations: 2.732 MB / 465.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.4235, allocations: 7.953 kB / 465.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.4237, allocations: 80 kB / 466 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.4238, allocations: 95.92 kB / 466.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.4279, allocations: 2.326 MB / 468.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0145/0.4424, allocations: 8.336 MB / 476.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.4447, allocations: 1.709 MB / 478.5 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.4467, allocations: 1.006 MB / 479.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.447, allocations: 126.9 kB / 479.6 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.447, allocations: 43.56 kB / 479.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.966e-06/0.447, allocations: 3.938 kB / 479.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01371/0.4607, allocations: 6.244 MB / 485.9 MB, free: 14.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.4608, allocations: 64.41 kB / 486 MB, free: 14.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.4633, allocations: 1.529 MB / 487.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.4634, allocations: 45.7 kB / 487.5 MB, free: 12.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008639/0.4643, allocations: 1.013 MB / 488.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/0.4647, allocations: 440.2 kB / 489 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004431/0.4651, allocations: 255.5 kB / 489.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4653, allocations: 361.9 kB / 489.6 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4666, allocations: 0.7378 MB / 490.3 MB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4681, allocations: 1.055 MB / 491.4 MB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.471, allocations: 1.871 MB / 493.2 MB, free: 6.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.471, allocations: 11.94 kB / 493.2 MB, free: 6.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004447/0.4754, allocations: 2.346 MB / 495.6 MB, free: 4.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.4754, allocations: 12 kB / 495.6 MB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.4755, allocations: 8 kB / 495.6 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.4765, allocations: 418.7 kB / 496 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.4778, allocations: 323.5 kB / 496.3 MB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.4837, allocations: 5.067 MB / 0.4897 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.4854, allocations: 91.91 kB / 0.4897 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.4855, allocations: 55.98 kB / 0.4898 GB, free: 14.3 MB / 414.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.001555/0.4871, allocations: 0.712 MB / 0.4905 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.4875, allocations: 170.9 kB / 0.4907 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.4915, allocations: 2.133 MB / 0.4927 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.4916, allocations: 15.94 kB / 0.4928 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.4916, allocations: 4 kB / 0.4928 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.4916, allocations: 7.969 kB / 0.4928 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008558/0.5001, allocations: 4.562 MB / 0.4972 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5001, allocations: 0 / 0.4972 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5012, allocations: 223.9 kB / 0.4974 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.5025, allocations: 478.8 kB / 0.4979 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5026, allocations: 27.98 kB / 0.4979 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007328/0.51, allocations: 6.688 MB / 0.5044 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.51, allocations: 4.031 kB / 0.5044 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/0.5157, allocations: 3.177 MB / 0.5076 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.5168, allocations: 407.9 kB / 0.5079 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.517, allocations: 32 kB / 0.508 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.5179, allocations: 75.91 kB / 0.508 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.5183, allocations: 112.7 kB / 0.5082 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.5184, allocations: 32 kB / 0.5082 GB, free: 10.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001774/0.5202, allocations: 1.06 MB / 0.5092 GB, free: 9.773 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5202, allocations: 3.938 kB / 0.5092 GB, free: 9.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001837/0.522, allocations: 463.9 kB / 0.5097 GB, free: 9.316 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.0004506/0.5225, allocations: 186.9 kB / 0.5098 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003915/0.5264, allocations: 2.188 MB / 0.512 GB, free: 6.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.5264, allocations: 4 kB / 0.512 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.5288, allocations: 1.449 MB / 0.5134 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.5311, allocations: 446.1 kB / 0.5138 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008111/0.5393, allocations: 4.565 MB / 0.5183 GB, free: 304 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.541, allocations: 1.83 MB / 0.5201 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001324/0.5424, allocations: 397.6 kB / 0.5204 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.5427, allocations: 107.4 kB / 0.5205 GB, free: 13.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/0.5427, allocations: 0 / 0.5205 GB, free: 13.93 MB / 446.1 MB Notification: Performance of Templates: time 0.3154/0.8582, allocations: 26.78 MB / 0.5467 GB, free: 97.44 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.909338953904808]