Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001784/0.001784, allocations: 85.89 kB / 20.68 MB, free: 1.035 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.002241/0.002241, allocations: 159.2 kB / 23.95 MB, free: 4.168 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.463/1.463, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.282e-05, allocations: 9.172 kB / 325.1 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02723/0.02726, allocations: 21.49 MB / 346.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.04342, allocations: 7.765 MB / 354.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003935/0.04736, allocations: 214.9 kB / 354.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02067/0.06802, allocations: 8.248 MB / 362.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.07852, allocations: 3.142 MB / 365.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005337/0.08385, allocations: 1.837 MB / 367.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01568/0.09954, allocations: 11.68 MB / 379.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02424/0.1238, allocations: 14.52 MB / 394 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01602/0.1398, allocations: 8.881 MB / 402.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.1508, allocations: 5.621 MB / 408.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003958/0.1548, allocations: 1.715 MB / 410.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005825/0.1606, allocations: 2.163 MB / 412.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00446/0.1651, allocations: 3.46 MB / 415.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008447/0.1735, allocations: 4.238 MB / 420.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02828/0.2018, allocations: 23.48 MB / 443.5 MB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2018, allocations: 0 / 443.5 MB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2018, allocations: 0 / 443.5 MB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005695/0.2024, allocations: 4 kB / 443.5 MB, free: 14.14 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04077/0.2431, allocations: 13.47 MB / 457 MB, free: 0.5781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2432, allocations: 11.98 kB / 457 MB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03781/0.281, allocations: 6.256 MB / 463.3 MB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.2975, allocations: 7.375 MB / 470.7 MB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008279/0.2983, allocations: 0.7224 MB / 471.4 MB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00354/0.3018, allocations: 0.9413 MB / 472.3 MB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3123/0.6142, allocations: 16.31 MB / 488.6 MB, free: 105.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/0.6144, allocations: 17.12 kB / 488.6 MB, free: 105.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/0.6158, allocations: 395.9 kB / 489 MB, free: 105.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004139/0.6162, allocations: 0.5589 MB / 489.6 MB, free: 105.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02388/0.6401, allocations: 15.08 MB / 0.4928 GB, free: 96.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06372/0.7038, allocations: 45.41 MB / 0.5372 GB, free: 51.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.7168, allocations: 8.55 MB / 0.5455 GB, free: 43.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004299/0.7211, allocations: 3.304 MB / 0.5488 GB, free: 40.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.7214, allocations: 119.4 kB / 0.5489 GB, free: 39.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.7215, allocations: 78.06 kB / 0.549 GB, free: 39.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=447): time 7.895e-06/0.7215, allocations: 0 / 0.549 GB, free: 39.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.04462/0.7661, allocations: 20.37 MB / 0.5688 GB, free: 19.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.7661, allocations: 98.94 kB / 0.5689 GB, free: 19.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/0.7709, allocations: 4.413 MB / 0.5732 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005178/0.7714, allocations: 97.7 kB / 0.5733 GB, free: 15.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.773, allocations: 4.328 MB / 0.5776 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.7741, allocations: 1.59 MB / 0.5791 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.7757, allocations: 1.196 MB / 0.5803 GB, free: 8.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.7757, allocations: 301.1 kB / 0.5806 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003986/0.7797, allocations: 3.065 MB / 0.5836 GB, free: 5.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005155/0.7849, allocations: 5.235 MB / 0.5887 GB, free: 14.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/0.7991, allocations: 8.879 MB / 0.5973 GB, free: 5.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-05/0.7991, allocations: 20 kB / 0.5974 GB, free: 5.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02151/0.8207, allocations: 9.818 MB / 0.607 GB, free: 11.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.8207, allocations: 36.34 kB / 0.607 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.8209, allocations: 72 kB / 0.6071 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/0.825, allocations: 1.366 MB / 0.6084 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005999/0.831, allocations: 1.392 MB / 0.6098 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/0.8511, allocations: 12.04 MB / 0.6215 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/0.8557, allocations: 347.6 kB / 0.6218 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000964/0.8566, allocations: 304 kB / 0.6221 GB, free: 11.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00782/0.8644, allocations: 3.884 MB / 0.6259 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/0.8657, allocations: 468.9 kB / 0.6264 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/0.8829, allocations: 8.436 MB / 0.6346 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01268/0.8955, allocations: 6.197 MB / 0.6407 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.8956, allocations: 15.94 kB / 0.6407 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/0.8956, allocations: 23.91 kB / 0.6407 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.211/1.107, allocations: 14.96 MB / 0.6553 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.107, allocations: 7.078 kB / 0.6553 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003362/1.11, allocations: 0.8086 MB / 0.6561 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.114, allocations: 1.25 MB / 0.6573 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006055/1.114, allocations: 112.1 kB / 0.6574 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/1.128, allocations: 10.96 MB / 0.6681 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.128, allocations: 11.31 kB / 0.6681 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/1.144, allocations: 11.13 MB / 0.679 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/1.146, allocations: 1.04 MB / 0.68 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.147, allocations: 94.97 kB / 0.6801 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.149, allocations: 229.4 kB / 0.6803 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007204/1.15, allocations: 347 kB / 0.6807 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.15, allocations: 143.9 kB / 0.6808 GB, free: 142.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003513/1.153, allocations: 2.952 MB / 0.6837 GB, free: 141.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.153, allocations: 0 / 0.6837 GB, free: 141.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004988/1.158, allocations: 1.718 MB / 0.6854 GB, free: 140.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/1.16, allocations: 0.5582 MB / 0.6859 GB, free: 140.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.171, allocations: 7.655 MB / 0.6934 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.171, allocations: 0 / 0.6934 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005727/1.177, allocations: 3.688 MB / 0.697 GB, free: 133.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/1.182, allocations: 0.9572 MB / 0.6979 GB, free: 132.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.208, allocations: 18.19 MB / 0.7157 GB, free: 115.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005307/1.213, allocations: 6.066 MB / 0.7216 GB, free: 110 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004633/1.218, allocations: 2.094 MB / 0.7237 GB, free: 107.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.219, allocations: 400.4 kB / 0.724 GB, free: 107.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/1.219, allocations: 0 / 0.724 GB, free: 107.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1011/1.32, allocations: 66.26 MB / 0.7887 GB, free: 41.87 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.929052263498306]