Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001303/0.001303, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001341/0.001341, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.378/1.378, allocations: 173.4 MB / 201 MB, free: 12.59 MB / 190.1 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 46.05 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08673, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02598/0.1127, allocations: 21.32 MB / 392.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.127, allocations: 7.084 MB / 400 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004117/0.1311, allocations: 222.9 kB / 400.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02135/0.1524, allocations: 8.652 MB / 408.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009503/0.1619, allocations: 2.961 MB / 411.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005334/0.1673, allocations: 1.706 MB / 413.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01513/0.1824, allocations: 10.84 MB / 424.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02603/0.2084, allocations: 14.16 MB / 438.6 MB, free: 4.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009301/0.2177, allocations: 5.872 MB / 444.4 MB, free: 14.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.2282, allocations: 6.027 MB / 450.5 MB, free: 8.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004013/0.2322, allocations: 1.668 MB / 452.1 MB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00594/0.2381, allocations: 2.023 MB / 454.1 MB, free: 4.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004893/0.243, allocations: 3.168 MB / 457.3 MB, free: 1.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00876/0.2518, allocations: 4.709 MB / 462 MB, free: 12.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.221/0.4728, allocations: 22.45 MB / 484.5 MB, free: 39.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4728, allocations: 0 / 484.5 MB, free: 39.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4728, allocations: 0.9375 kB / 484.5 MB, free: 39.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004952/0.4733, allocations: 3.406 kB / 484.5 MB, free: 39.47 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03929/0.5126, allocations: 12.86 MB / 497.3 MB, free: 35.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5126, allocations: 10.52 kB / 497.3 MB, free: 35.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03441/0.547, allocations: 6.254 MB / 0.4918 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.5619, allocations: 7 MB / 0.4986 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006087/0.5625, allocations: 0.6972 MB / 0.4993 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004224/0.5668, allocations: 0.9241 MB / 0.5002 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/0.6028, allocations: 15.89 MB / 0.5157 GB, free: 18.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004576/0.6033, allocations: 15.61 kB / 0.5157 GB, free: 18.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003802/0.6071, allocations: 388.3 kB / 0.5161 GB, free: 18.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/0.6076, allocations: 0.5469 MB / 0.5167 GB, free: 17.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/0.634, allocations: 14.71 MB / 0.531 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08703/0.721, allocations: 44.01 MB / 0.574 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01953/0.7405, allocations: 9.172 MB / 0.583 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0056/0.7461, allocations: 2.916 MB / 0.5858 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.7466, allocations: 79.08 kB / 0.5859 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.691e-05/0.7467, allocations: 73.69 kB / 0.5859 GB, free: 11.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 7.734e-06/0.7467, allocations: 0 / 0.5859 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.05589/0.8026, allocations: 17.04 MB / 0.6026 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.8027, allocations: 94.56 kB / 0.6027 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009636/0.8124, allocations: 3.584 MB / 0.6062 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007418/0.8131, allocations: 89.7 kB / 0.6063 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004578/0.8177, allocations: 4.133 MB / 0.6103 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002371/0.8201, allocations: 1.452 MB / 0.6117 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003567/0.8236, allocations: 1.14 MB / 0.6128 GB, free: 452 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8238, allocations: 305.1 kB / 0.6131 GB, free: 144 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007274/0.8311, allocations: 2.789 MB / 0.6158 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009699/0.8408, allocations: 4.976 MB / 0.6207 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/0.8589, allocations: 8.296 MB / 0.6288 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.278e-05/0.859, allocations: 20 kB / 0.6288 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02534/0.8843, allocations: 9.032 MB / 0.6376 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.8844, allocations: 32 kB / 0.6377 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/0.8846, allocations: 72 kB / 0.6377 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005101/0.8897, allocations: 1.188 MB / 0.6389 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00754/0.8972, allocations: 1.325 MB / 0.6402 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/0.9209, allocations: 9.461 MB / 0.6494 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004154/0.9251, allocations: 327.6 kB / 0.6497 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006105/0.9257, allocations: 288 kB / 0.65 GB, free: 9.152 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005854/0.9316, allocations: 3.712 MB / 0.6536 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000855/0.9324, allocations: 401.4 kB / 0.654 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.9449, allocations: 6.614 MB / 0.6605 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009888/0.9548, allocations: 5.528 MB / 0.6659 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.9548, allocations: 15.94 kB / 0.6659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.202e-05/0.9549, allocations: 23.91 kB / 0.6659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2218/1.177, allocations: 13.42 MB / 0.679 GB, free: 201 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.177, allocations: 5.875 kB / 0.679 GB, free: 201 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.18, allocations: 0.7178 MB / 0.6797 GB, free: 200.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/1.183, allocations: 1.081 MB / 0.6808 GB, free: 200.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004956/1.183, allocations: 89.39 kB / 0.6809 GB, free: 200.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.194, allocations: 8.415 MB / 0.6891 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.194, allocations: 7.906 kB / 0.6891 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/1.207, allocations: 9.763 MB / 0.6986 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/1.209, allocations: 0.8939 MB / 0.6995 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006518/1.21, allocations: 82.59 kB / 0.6996 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.212, allocations: 201.4 kB / 0.6998 GB, free: 193 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/1.212, allocations: 301.1 kB / 0.7001 GB, free: 193 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.213, allocations: 119.5 kB / 0.7002 GB, free: 193 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002902/1.216, allocations: 2.327 MB / 0.7025 GB, free: 192.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.216, allocations: 0 / 0.7025 GB, free: 192.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005414/1.221, allocations: 1.599 MB / 0.704 GB, free: 191.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006828/1.222, allocations: 288.5 kB / 0.7043 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009727/1.231, allocations: 6.836 MB / 0.711 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.231, allocations: 0 / 0.711 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005075/1.237, allocations: 3.155 MB / 0.714 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/1.241, allocations: 0.8696 MB / 0.7149 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/1.264, allocations: 16.71 MB / 0.7312 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005187/1.269, allocations: 5.743 MB / 0.7368 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004105/1.273, allocations: 1.887 MB / 0.7387 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009235/1.274, allocations: 340.4 kB / 0.739 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.274, allocations: 0 / 0.739 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1436/1.418, allocations: 59.86 MB / 0.7974 GB, free: 101.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 7.442537661991082]