Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001451/0.001451, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001585/0.001585, allocations: 156.9 kB / 24.26 MB, free: 168 kB / 18.57 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.629/1.629, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.867e-05, allocations: 5.266 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1361/0.1361, allocations: 23.23 MB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.1511, allocations: 7.88 MB / 303.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00512/0.1562, allocations: 237.7 kB / 303.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01929/0.1755, allocations: 9.24 MB / 312.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.1859, allocations: 3.432 MB / 316.3 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.1907, allocations: 1.813 MB / 318.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01746/0.2081, allocations: 12.76 MB / 330.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03156/0.2397, allocations: 15.88 MB / 346.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02005/0.2597, allocations: 9.712 MB / 356.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/0.2727, allocations: 6.272 MB / 362.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00462/0.2773, allocations: 1.832 MB / 364.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007178/0.2845, allocations: 2.233 MB / 366.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006125/0.2906, allocations: 3.674 MB / 370.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01095/0.3016, allocations: 4.628 MB / 375.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03509/0.3366, allocations: 25.13 MB / 400.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3367, allocations: 0 / 400.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3367, allocations: 0 / 400.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005562/0.3372, allocations: 0 / 400.2 MB, free: 1.914 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04391/0.3811, allocations: 14.55 MB / 414.7 MB, free: 3.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3812, allocations: 15.98 kB / 414.8 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05363/0.4348, allocations: 10.36 MB / 425.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/0.4542, allocations: 8.129 MB / 433.3 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2127/0.6669, allocations: 0.8026 MB / 434.1 MB, free: 105.3 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003794/0.6707, allocations: 1.064 MB / 435.1 MB, free: 105.3 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03868/0.7093, allocations: 18.55 MB / 453.7 MB, free: 98.71 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003266/0.7097, allocations: 14.25 kB / 453.7 MB, free: 98.71 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002825/0.7125, allocations: 453.9 kB / 454.1 MB, free: 98.37 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005325/0.713, allocations: 0.6689 MB / 454.8 MB, free: 98.3 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03055/0.7436, allocations: 17.49 MB / 472.3 MB, free: 84.03 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07674/0.8203, allocations: 51.71 MB / 0.5117 GB, free: 32.31 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/0.8403, allocations: 12.73 MB / 0.5241 GB, free: 21.62 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004917/0.8452, allocations: 3.734 MB / 0.5278 GB, free: 17.87 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.8456, allocations: 155.9 kB / 0.5279 GB, free: 17.71 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.8457, allocations: 90.62 kB / 0.528 GB, free: 17.61 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 8.256e-06/0.8457, allocations: 0 / 0.528 GB, free: 17.61 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.04207/0.8878, allocations: 21.43 MB / 0.549 GB, free: 12.41 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.8879, allocations: 107.5 kB / 0.5491 GB, free: 12.29 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006919/0.8948, allocations: 4.002 MB / 0.553 GB, free: 8.41 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007121/0.8955, allocations: 109.7 kB / 0.5531 GB, free: 8.297 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004177/0.8997, allocations: 4.666 MB / 0.5576 GB, free: 3.801 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00263/0.9023, allocations: 1.846 MB / 0.5594 GB, free: 1.98 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/0.9048, allocations: 1.355 MB / 0.5607 GB, free: 0.6172 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.9049, allocations: 305.1 kB / 0.561 GB, free: 324 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006759/0.9117, allocations: 3.438 MB / 0.5644 GB, free: 12.88 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009883/0.9216, allocations: 5.902 MB / 0.5702 GB, free: 5.871 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1438/1.065, allocations: 10 MB / 0.5799 GB, free: 117.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.638e-05/1.065, allocations: 25.75 kB / 0.58 GB, free: 117.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01867/1.084, allocations: 11.22 MB / 0.5909 GB, free: 113.3 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.084, allocations: 38.62 kB / 0.5909 GB, free: 113.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.084, allocations: 78.12 kB / 0.591 GB, free: 113.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004338/1.089, allocations: 1.623 MB / 0.5926 GB, free: 113 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006153/1.095, allocations: 1.618 MB / 0.5942 GB, free: 112.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.11, allocations: 11 MB / 0.6049 GB, free: 107.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/1.115, allocations: 401.5 kB / 0.6053 GB, free: 107.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.116, allocations: 341.7 kB / 0.6056 GB, free: 107.1 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005881/1.122, allocations: 4.166 MB / 0.6097 GB, free: 105.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/1.123, allocations: 0.6309 MB / 0.6103 GB, free: 105 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.136, allocations: 8.373 MB / 0.6185 GB, free: 100.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01022/1.146, allocations: 7.037 MB / 0.6254 GB, free: 94.71 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/1.146, allocations: 14.12 kB / 0.6254 GB, free: 94.7 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.465e-05/1.146, allocations: 27.36 kB / 0.6254 GB, free: 94.7 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/1.175, allocations: 16.14 MB / 0.6412 GB, free: 79.92 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.175, allocations: 288 / 0.6412 GB, free: 79.92 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00388/1.179, allocations: 0.9478 MB / 0.6421 GB, free: 78.97 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003926/1.183, allocations: 1.468 MB / 0.6435 GB, free: 77.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005548/1.183, allocations: 112 kB / 0.6436 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.195, allocations: 9.725 MB / 0.6531 GB, free: 67.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.195, allocations: 3.938 kB / 0.6531 GB, free: 67.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/1.212, allocations: 12.38 MB / 0.6652 GB, free: 55.24 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003073/1.215, allocations: 1.103 MB / 0.6663 GB, free: 54.14 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009855/1.216, allocations: 92 kB / 0.6664 GB, free: 54.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.218, allocations: 263.7 kB / 0.6666 GB, free: 53.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008227/1.219, allocations: 376.2 kB / 0.667 GB, free: 53.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003184/1.22, allocations: 160 kB / 0.6672 GB, free: 53.27 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003093/1.223, allocations: 2.579 MB / 0.6697 GB, free: 50.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.223, allocations: 0 / 0.6697 GB, free: 50.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00554/1.228, allocations: 1.918 MB / 0.6715 GB, free: 48.79 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006267/1.229, allocations: 296.8 kB / 0.6718 GB, free: 48.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01154/1.24, allocations: 8.375 MB / 0.68 GB, free: 40.07 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.24, allocations: 4 kB / 0.68 GB, free: 40.07 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006021/1.246, allocations: 3.893 MB / 0.6838 GB, free: 36.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/1.252, allocations: 1.049 MB / 0.6848 GB, free: 35.17 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/1.28, allocations: 19.67 MB / 0.704 GB, free: 15.35 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00715/1.287, allocations: 6.577 MB / 0.7105 GB, free: 8.711 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005317/1.292, allocations: 2.292 MB / 0.7127 GB, free: 6.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.294, allocations: 432.4 kB / 0.7131 GB, free: 5.988 MB / 410.8 MB Notification: Performance of SimCode: time 1.193e-06/1.294, allocations: 0 / 0.7131 GB, free: 5.988 MB / 410.8 MB Notification: Performance of Templates: time 0.2383/1.532, allocations: 71.73 MB / 0.7832 GB, free: 100.9 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.512124824002967]