Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001377/0.001377, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001588/0.001588, allocations: 210 kB / 24.48 MB, free: 3.938 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 51.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2645, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02643/0.2909, allocations: 21.36 MB / 453.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.3074, allocations: 7.178 MB / 460.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005692/0.3131, allocations: 218.9 kB / 461.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02143/0.3345, allocations: 8.209 MB / 469.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.3457, allocations: 2.98 MB / 472.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006089/0.3518, allocations: 1.733 MB / 474 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01653/0.3683, allocations: 10.94 MB / 485 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02663/0.3949, allocations: 14.36 MB / 499.3 MB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009978/0.4049, allocations: 5.876 MB / 0.4934 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/0.4166, allocations: 6.366 MB / 0.4996 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004644/0.4212, allocations: 1.668 MB / 0.5012 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006855/0.428, allocations: 2.058 MB / 0.5032 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005176/0.4332, allocations: 3.157 MB / 0.5063 GB, free: 232 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01014/0.4434, allocations: 4.717 MB / 0.5109 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02784/0.4712, allocations: 22.47 MB / 0.5329 GB, free: 4.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4712, allocations: 4 kB / 0.5329 GB, free: 4.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4712, allocations: 3.938 kB / 0.5329 GB, free: 4.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004894/0.4717, allocations: 0 / 0.5329 GB, free: 4.941 MB / 446.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.4606/0.9323, allocations: 12.88 MB / 0.5455 GB, free: 89.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.9323, allocations: 7.938 kB / 0.5455 GB, free: 89.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03328/0.9656, allocations: 6.181 MB / 0.5515 GB, free: 84.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.9816, allocations: 7.014 MB / 0.5584 GB, free: 77.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006473/0.9822, allocations: 0.7 MB / 0.559 GB, free: 76.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003948/0.9862, allocations: 0.9168 MB / 0.5599 GB, free: 75.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03817/1.024, allocations: 15.93 MB / 0.5755 GB, free: 59.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004986/1.025, allocations: 15.88 kB / 0.5755 GB, free: 59.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003407/1.028, allocations: 395.6 kB / 0.5759 GB, free: 59.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000529/1.029, allocations: 0.5508 MB / 0.5764 GB, free: 58.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0292/1.058, allocations: 14.74 MB / 0.5908 GB, free: 44.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08146/1.139, allocations: 44.08 MB / 0.6339 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/1.159, allocations: 9.194 MB / 0.6428 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005837/1.165, allocations: 2.924 MB / 0.6457 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/1.166, allocations: 103 kB / 0.6458 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.188e-05/1.166, allocations: 77.69 kB / 0.6459 GB, free: 4.371 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 7.484e-06/1.166, allocations: 0 / 0.6459 GB, free: 4.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04517/1.211, allocations: 17.07 MB / 0.6625 GB, free: 3.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/1.211, allocations: 98.56 kB / 0.6626 GB, free: 3.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007103/1.218, allocations: 3.589 MB / 0.6661 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007777/1.219, allocations: 89.7 kB / 0.6662 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003933/1.223, allocations: 4.149 MB / 0.6703 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002321/1.225, allocations: 1.437 MB / 0.6717 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003688/1.229, allocations: 1.16 MB / 0.6728 GB, free: 8.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/1.229, allocations: 305.1 kB / 0.6731 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/1.234, allocations: 2.787 MB / 0.6758 GB, free: 5.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006904/1.241, allocations: 4.982 MB / 0.6807 GB, free: 15.67 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.254, allocations: 8.31 MB / 0.6888 GB, free: 6.363 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-05/1.254, allocations: 20 kB / 0.6888 GB, free: 6.344 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01981/1.274, allocations: 9.058 MB / 0.6977 GB, free: 13.26 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.274, allocations: 43.92 kB / 0.6977 GB, free: 13.22 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.274, allocations: 72 kB / 0.6978 GB, free: 13.15 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/1.278, allocations: 1.182 MB / 0.6989 GB, free: 11.96 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005558/1.283, allocations: 1.326 MB / 0.7002 GB, free: 10.64 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/1.3, allocations: 9.459 MB / 0.7095 GB, free: 1.066 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/1.304, allocations: 327.6 kB / 0.7098 GB, free: 0.7461 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/1.305, allocations: 288 kB / 0.71 GB, free: 476 kB / 0.5138 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.007737/1.313, allocations: 3.716 MB / 0.7137 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/1.315, allocations: 405.4 kB / 0.7141 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.329, allocations: 6.617 MB / 0.7205 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01065/1.339, allocations: 5.548 MB / 0.7259 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.019e-05/1.339, allocations: 12 kB / 0.7259 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/1.339, allocations: 19.92 kB / 0.726 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.369, allocations: 13.45 MB / 0.7391 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.369, allocations: 4 kB / 0.7391 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/1.372, allocations: 0.7216 MB / 0.7398 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/1.376, allocations: 1.081 MB / 0.7409 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005148/1.376, allocations: 99.91 kB / 0.741 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/1.39, allocations: 8.411 MB / 0.7492 GB, free: 8.039 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.39, allocations: 7.938 kB / 0.7492 GB, free: 8.031 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.383/1.773, allocations: 9.786 MB / 0.7587 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004993/1.778, allocations: 0.8968 MB / 0.7596 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001865/1.78, allocations: 75.19 kB / 0.7597 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005262/1.786, allocations: 204.7 kB / 0.7599 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/1.787, allocations: 306.9 kB / 0.7602 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009752/1.788, allocations: 124.4 kB / 0.7603 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007799/1.796, allocations: 2.33 MB / 0.7626 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.4e-07/1.796, allocations: 0 / 0.7626 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01037/1.807, allocations: 1.608 MB / 0.7641 GB, free: 192.4 MB / 0.5607 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.001506/1.808, allocations: 259.3 kB / 0.7644 GB, free: 192.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01829/1.826, allocations: 6.857 MB / 0.7711 GB, free: 189.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.826, allocations: 0 / 0.7711 GB, free: 189.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01043/1.837, allocations: 3.17 MB / 0.7742 GB, free: 188.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009442/1.846, allocations: 0.881 MB / 0.775 GB, free: 188.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/1.877, allocations: 16.4 MB / 0.7911 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007296/1.884, allocations: 5.552 MB / 0.7965 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/1.886, allocations: 405.8 kB / 0.7969 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of SimCode: time 8.91e-07/1.886, allocations: 0 / 0.7969 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.1637/2.05, allocations: 162 MB / 0.955 GB, free: 13.84 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.96124019200215]