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.001702/0.001702, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002077/0.002077, allocations: 168.5 kB / 24.5 MB, free: 3.453 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.589/1.589, allocations: 177.2 MB / 204.9 MB, free: 8.953 MB / 190.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.001515/0.001515, allocations: 46.8 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.09072, allocations: 53.35 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0251/0.1158, allocations: 21.35 MB / 400.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1297, allocations: 7.189 MB / 407.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003485/0.1332, allocations: 222.9 kB / 407.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02111/0.1543, allocations: 8.649 MB / 416.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009824/0.1641, allocations: 2.964 MB / 419.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004883/0.169, allocations: 1.714 MB / 421 MB, free: 5.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.1829, allocations: 10.95 MB / 432 MB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02152/0.2045, allocations: 14.16 MB / 446.1 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008853/0.2133, allocations: 5.876 MB / 452 MB, free: 6.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/0.2235, allocations: 6.081 MB / 458.1 MB, free: 168 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003236/0.2267, allocations: 1.668 MB / 459.8 MB, free: 14.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/0.2312, allocations: 2.039 MB / 461.8 MB, free: 12.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.2344, allocations: 3.164 MB / 465 MB, free: 9.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006836/0.2413, allocations: 4.709 MB / 469.7 MB, free: 4.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2105/0.4518, allocations: 22.48 MB / 492.2 MB, free: 36.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4518, allocations: 6.859 kB / 492.2 MB, free: 36.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4518, allocations: 1.219 kB / 492.2 MB, free: 36.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005279/0.4523, allocations: 0 / 492.2 MB, free: 36.81 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.04029/0.4926, allocations: 12.88 MB / 0.4932 GB, free: 31.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4926, allocations: 9.875 kB / 0.4932 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03494/0.5276, allocations: 6.187 MB / 0.4993 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/0.5428, allocations: 7.019 MB / 0.5061 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006311/0.5434, allocations: 0.6983 MB / 0.5068 GB, free: 23.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006521/0.5499, allocations: 0.9248 MB / 0.5077 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/0.5879, allocations: 15.93 MB / 0.5232 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003896/0.5883, allocations: 11.33 kB / 0.5233 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003391/0.5917, allocations: 390.5 kB / 0.5236 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004996/0.5922, allocations: 0.5547 MB / 0.5242 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02882/0.621, allocations: 14.73 MB / 0.5386 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09431/0.7153, allocations: 44.1 MB / 0.5816 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/0.7354, allocations: 9.206 MB / 0.5906 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/0.7406, allocations: 2.92 MB / 0.5935 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004069/0.741, allocations: 103 kB / 0.5936 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.502e-05/0.7411, allocations: 73.69 kB / 0.5936 GB, free: 5.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 7.033e-06/0.7411, allocations: 4 kB / 0.5936 GB, free: 5.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.04339/0.7845, allocations: 17.07 MB / 0.6103 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.7846, allocations: 90.58 kB / 0.6104 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007638/0.7922, allocations: 3.596 MB / 0.6139 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006167/0.7929, allocations: 93.7 kB / 0.614 GB, free: 416 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003461/0.7963, allocations: 4.145 MB / 0.618 GB, free: 12.28 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/0.7981, allocations: 1.455 MB / 0.6195 GB, free: 10.84 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002855/0.8009, allocations: 1.148 MB / 0.6206 GB, free: 9.684 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8011, allocations: 301.1 kB / 0.6209 GB, free: 9.387 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004983/0.8061, allocations: 2.795 MB / 0.6236 GB, free: 6.586 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006886/0.8129, allocations: 4.977 MB / 0.6285 GB, free: 0.6406 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/0.8255, allocations: 8.318 MB / 0.6366 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/0.8255, allocations: 20 kB / 0.6366 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01799/0.8435, allocations: 9.057 MB / 0.6454 GB, free: 14.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/0.8436, allocations: 38.73 kB / 0.6455 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.8438, allocations: 68.53 kB / 0.6455 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/0.8474, allocations: 1.194 MB / 0.6467 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0055/0.8529, allocations: 1.323 MB / 0.648 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/0.8694, allocations: 9.451 MB / 0.6572 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/0.874, allocations: 331.6 kB / 0.6576 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/0.8752, allocations: 284 kB / 0.6578 GB, free: 2.34 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.00754/0.8827, allocations: 3.71 MB / 0.6614 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/0.884, allocations: 405.4 kB / 0.6618 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/0.8985, allocations: 6.619 MB / 0.6683 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01127/0.9097, allocations: 5.55 MB / 0.6737 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/0.9098, allocations: 8 kB / 0.6737 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-05/0.9098, allocations: 23.92 kB / 0.6737 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2217/1.132, allocations: 13.44 MB / 0.6869 GB, free: 194.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.132, allocations: 3.75 kB / 0.6869 GB, free: 194.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/1.134, allocations: 0.7272 MB / 0.6876 GB, free: 194.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002708/1.137, allocations: 1.081 MB / 0.6886 GB, free: 194.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.137, allocations: 97.16 kB / 0.6887 GB, free: 194.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/1.148, allocations: 8.422 MB / 0.697 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.148, allocations: 5.219 kB / 0.697 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.16, allocations: 9.793 MB / 0.7065 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.162, allocations: 0.8933 MB / 0.7074 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/1.163, allocations: 79.75 kB / 0.7075 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.165, allocations: 199.8 kB / 0.7077 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005422/1.166, allocations: 306.8 kB / 0.708 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/1.166, allocations: 127.4 kB / 0.7081 GB, free: 184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00273/1.169, allocations: 2.323 MB / 0.7104 GB, free: 182 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.169, allocations: 0 / 0.7104 GB, free: 182 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005083/1.174, allocations: 1.606 MB / 0.7119 GB, free: 180.4 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.0004694/1.174, allocations: 275.4 kB / 0.7122 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008921/1.183, allocations: 6.846 MB / 0.7189 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.183, allocations: 2.906 kB / 0.7189 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004485/1.187, allocations: 3.168 MB / 0.722 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/1.191, allocations: 0.8676 MB / 0.7228 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.214, allocations: 16.68 MB / 0.7391 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004998/1.219, allocations: 5.737 MB / 0.7447 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004091/1.223, allocations: 1.895 MB / 0.7466 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009193/1.224, allocations: 352.4 kB / 0.7469 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/1.224, allocations: 0 / 0.7469 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.08892/1.312, allocations: 60.59 MB / 0.8061 GB, free: 87.8 MB / 0.5606 GB " [Timeout remaining time 659] 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 -s ida -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: 7.601020587026142]