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.001336/0.001336, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001482/0.001482, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.519/1.519, allocations: 230.6 MB / 257.5 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.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.001618/0.001618, allocations: 47.91 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02734/0.2698, allocations: 21.37 MB / 453 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.2851, allocations: 7.165 MB / 460.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.2894, allocations: 222.9 kB / 460.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02168/0.3111, allocations: 8.217 MB / 468.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.3215, allocations: 2.988 MB / 471.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00587/0.3274, allocations: 1.711 MB / 473.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01566/0.343, allocations: 10.95 MB / 484.2 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02948/0.3725, allocations: 14.35 MB / 498.6 MB, free: 3.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009901/0.3824, allocations: 5.888 MB / 0.4927 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.3944, allocations: 6.362 MB / 0.4989 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00491/0.3993, allocations: 1.668 MB / 0.5005 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.4058, allocations: 2.05 MB / 0.5025 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005369/0.4112, allocations: 3.164 MB / 0.5056 GB, free: 252 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.4214, allocations: 4.709 MB / 0.5102 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02902/0.4504, allocations: 22.48 MB / 0.5321 GB, free: 4.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4504, allocations: 0 / 0.5321 GB, free: 4.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4504, allocations: 4 kB / 0.5321 GB, free: 4.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000779/0.4512, allocations: 0 / 0.5321 GB, free: 4.969 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.4392/0.8904, allocations: 12.88 MB / 0.5447 GB, free: 89.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.8904, allocations: 7.938 kB / 0.5447 GB, free: 89.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03552/0.926, allocations: 6.174 MB / 0.5508 GB, free: 84.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/0.9428, allocations: 7.014 MB / 0.5576 GB, free: 77.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006168/0.9434, allocations: 0.7019 MB / 0.5583 GB, free: 76.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004384/0.9478, allocations: 0.9175 MB / 0.5592 GB, free: 75.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0457/0.9935, allocations: 15.92 MB / 0.5747 GB, free: 59.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005678/0.994, allocations: 19.83 kB / 0.5748 GB, free: 59.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004247/0.9983, allocations: 386.5 kB / 0.5751 GB, free: 59.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006147/0.9989, allocations: 0.5547 MB / 0.5757 GB, free: 58.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/1.029, allocations: 14.74 MB / 0.5901 GB, free: 44.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08252/1.111, allocations: 44.08 MB / 0.6331 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02081/1.132, allocations: 9.184 MB / 0.6421 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005917/1.138, allocations: 2.932 MB / 0.6449 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/1.138, allocations: 102.9 kB / 0.645 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/1.138, allocations: 77.69 kB / 0.6451 GB, free: 4.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 1.029e-05/1.138, allocations: 4 kB / 0.6451 GB, free: 4.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04804/1.186, allocations: 17.08 MB / 0.6618 GB, free: 3.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.187, allocations: 94.58 kB / 0.6619 GB, free: 3.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008062/1.195, allocations: 3.592 MB / 0.6654 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000823/1.195, allocations: 85.7 kB / 0.6655 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003934/1.199, allocations: 4.145 MB / 0.6695 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002735/1.202, allocations: 1.441 MB / 0.6709 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004581/1.207, allocations: 1.152 MB / 0.6721 GB, free: 8.812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/1.207, allocations: 305.1 kB / 0.6723 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005183/1.212, allocations: 2.799 MB / 0.6751 GB, free: 5.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007314/1.219, allocations: 4.974 MB / 0.6799 GB, free: 15.73 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/1.233, allocations: 8.318 MB / 0.6881 GB, free: 6.414 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/1.234, allocations: 20 kB / 0.6881 GB, free: 6.395 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02295/1.257, allocations: 9.047 MB / 0.6969 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.257, allocations: 41.34 kB / 0.697 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/1.257, allocations: 68 kB / 0.697 GB, free: 13.22 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/1.261, allocations: 1.19 MB / 0.6982 GB, free: 12.03 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005662/1.266, allocations: 1.326 MB / 0.6995 GB, free: 10.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/1.284, allocations: 9.463 MB / 0.7087 GB, free: 1.125 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004987/1.289, allocations: 331.6 kB / 0.709 GB, free: 0.8008 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.291, allocations: 292 kB / 0.7093 GB, free: 0.5156 MB / 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.008565/1.299, allocations: 3.705 MB / 0.7129 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/1.301, allocations: 401.4 kB / 0.7133 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/1.319, allocations: 6.613 MB / 0.7198 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01228/1.331, allocations: 5.552 MB / 0.7252 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-05/1.331, allocations: 8 kB / 0.7252 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.989e-05/1.331, allocations: 19.92 kB / 0.7252 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03462/1.366, allocations: 13.44 MB / 0.7383 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.366, allocations: 4 kB / 0.7384 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/1.37, allocations: 0.7333 MB / 0.7391 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/1.373, allocations: 1.077 MB / 0.7401 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000787/1.374, allocations: 91.97 kB / 0.7402 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/1.389, allocations: 8.423 MB / 0.7484 GB, free: 8.105 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.389, allocations: 7.938 kB / 0.7484 GB, free: 8.098 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2758/1.664, allocations: 9.792 MB / 0.758 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003422/1.668, allocations: 0.8897 MB / 0.7589 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00095/1.669, allocations: 78.91 kB / 0.7589 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/1.671, allocations: 197 kB / 0.7591 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007372/1.672, allocations: 308.7 kB / 0.7594 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/1.672, allocations: 123.7 kB / 0.7595 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003715/1.676, allocations: 2.327 MB / 0.7618 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.676, allocations: 0 / 0.7618 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006003/1.682, allocations: 1.604 MB / 0.7634 GB, free: 191.6 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.0008814/1.683, allocations: 276.2 kB / 0.7636 GB, free: 191.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.693, allocations: 6.852 MB / 0.7703 GB, free: 188.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/1.693, allocations: 0 / 0.7703 GB, free: 188.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005304/1.698, allocations: 3.17 MB / 0.7734 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/1.703, allocations: 0.8721 MB / 0.7743 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.728, allocations: 16.7 MB / 0.7906 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005883/1.734, allocations: 5.732 MB / 0.7962 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004352/1.738, allocations: 1.887 MB / 0.798 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.739, allocations: 357.1 kB / 0.7984 GB, free: 171.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.032e-06/1.739, allocations: 0 / 0.7984 GB, free: 171.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.09986/1.839, allocations: 72.69 MB / 0.8694 GB, free: 101.3 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/jenkins/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/jenkins/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: 8.052814513910562]