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.0007791/0.0007791, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.001936, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007297/0.0007297, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008878/0.001618, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9568/0.9568, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.058, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.102e-06/1.102e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.775e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01772/0.01773, allocations: 25.56 MB / 270.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.147/0.1647, allocations: 8.437 MB / 279 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005096/0.1698, allocations: 237.9 kB / 279.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01418/0.184, allocations: 9.935 MB / 289.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.1941, allocations: 3.432 MB / 292.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.199, allocations: 1.833 MB / 294.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01461/0.2136, allocations: 12.85 MB / 307.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02523/0.2388, allocations: 15.93 MB / 323.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01849/0.2573, allocations: 10.13 MB / 333.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01143/0.2687, allocations: 7.215 MB / 340.6 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004925/0.2737, allocations: 1.832 MB / 342.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007781/0.2814, allocations: 2.249 MB / 344.7 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005369/0.2868, allocations: 2.977 MB / 347.6 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01327/0.3001, allocations: 3.916 MB / 351.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.3172, allocations: 11.15 MB / 362.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.3172, allocations: 0 / 362.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3172, allocations: 0 / 362.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005242/0.3177, allocations: 0 / 362.7 MB, free: 2.008 MB / 330.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.02633/0.344, allocations: 15.92 MB / 378.6 MB, free: 2.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3441, allocations: 8.625 kB / 378.6 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02431/0.3684, allocations: 8.259 MB / 386.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008434/0.3768, allocations: 4.023 MB / 390.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005204/0.3773, allocations: 0.8062 MB / 391.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/0.3799, allocations: 1.063 MB / 392.8 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.3978, allocations: 9.107 MB / 401.9 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002408/0.398, allocations: 11.94 kB / 401.9 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/0.3999, allocations: 447.9 kB / 402.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007657/0.4007, allocations: 0.6711 MB / 403 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008585/0.4093, allocations: 4.801 MB / 407.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1957/0.6049, allocations: 34.85 MB / 442.7 MB, free: 77.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008103/0.613, allocations: 7.07 MB / 449.7 MB, free: 76.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.6147, allocations: 1.285 MB / 451 MB, free: 76.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.615, allocations: 157.3 kB / 451.2 MB, free: 76.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.615, allocations: 95.95 kB / 451.3 MB, free: 76.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=518): time 7.795e-06/0.615, allocations: 0 / 451.3 MB, free: 76.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=524): time 0.0176/0.6326, allocations: 9.424 MB / 460.7 MB, free: 75.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.6327, allocations: 105.5 kB / 460.8 MB, free: 75.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.635, allocations: 2.654 MB / 463.5 MB, free: 74.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/0.6353, allocations: 109.5 kB / 463.6 MB, free: 74.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.6364, allocations: 4.275 MB / 467.8 MB, free: 72.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008173/0.6372, allocations: 1.849 MB / 469.7 MB, free: 70.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.6384, allocations: 1.252 MB / 470.9 MB, free: 70.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.673e-05/0.6384, allocations: 305.1 kB / 471.2 MB, free: 70.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.6395, allocations: 0.96 MB / 472.2 MB, free: 70.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.6412, allocations: 3.192 MB / 475.4 MB, free: 67.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.6447, allocations: 4.852 MB / 480.2 MB, free: 64.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.55e-05/0.6448, allocations: 22.39 kB / 480.3 MB, free: 64.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.005885/0.6507, allocations: 4.651 MB / 484.9 MB, free: 64.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/0.6507, allocations: 41.53 kB / 485 MB, free: 64.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/0.6508, allocations: 78.75 kB / 485 MB, free: 64.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.6528, allocations: 1.195 MB / 486.2 MB, free: 64.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.6559, allocations: 1.677 MB / 487.9 MB, free: 62.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00495/0.6609, allocations: 5.095 MB / 493 MB, free: 58.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.6639, allocations: 252.5 kB / 493.2 MB, free: 58.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006/0.6645, allocations: 274.2 kB / 493.5 MB, free: 58.41 MB / 394.7 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.002485/0.667, allocations: 0.5673 MB / 494.1 MB, free: 58.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007287/0.6677, allocations: 448.2 kB / 494.5 MB, free: 57.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.672, allocations: 3.428 MB / 497.9 MB, free: 54.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002582/0.6746, allocations: 2.204 MB / 0.4884 GB, free: 52.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.6746, allocations: 12 kB / 0.4884 GB, free: 52.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/0.6746, allocations: 27.89 kB / 0.4885 GB, free: 52.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.6893, allocations: 9.536 MB / 0.4978 GB, free: 45.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.6893, allocations: 4 kB / 0.4978 GB, free: 45.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/0.6914, allocations: 0.9359 MB / 0.4987 GB, free: 44.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.693, allocations: 0.6115 MB / 0.4993 GB, free: 44.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.6949, allocations: 1.07 MB / 0.5003 GB, free: 43.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/0.6952, allocations: 107.2 kB / 0.5004 GB, free: 43.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004677/0.6999, allocations: 4.648 MB / 0.505 GB, free: 39.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6999, allocations: 3.562 kB / 0.505 GB, free: 39.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.7054, allocations: 4.065 MB / 0.509 GB, free: 35.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007515/0.7061, allocations: 95.34 kB / 0.509 GB, free: 35.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.7074, allocations: 139.5 kB / 0.5092 GB, free: 35.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/0.7079, allocations: 365.4 kB / 0.5095 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.7081, allocations: 103.3 kB / 0.5096 GB, free: 35.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001468/0.7096, allocations: 1.218 MB / 0.5108 GB, free: 34.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7096, allocations: 4 kB / 0.5108 GB, free: 34.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005425/0.715, allocations: 1.917 MB / 0.5127 GB, free: 32.54 MB / 394.7 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.0006249/0.7156, allocations: 286 kB / 0.513 GB, free: 32.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005338/0.721, allocations: 3.85 MB / 0.5167 GB, free: 29.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002286/0.7212, allocations: 121.6 kB / 0.5168 GB, free: 28.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.7236, allocations: 2.034 MB / 0.5188 GB, free: 27.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/0.7272, allocations: 1.428 MB / 0.5202 GB, free: 26.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06489/0.7921, allocations: 16.29 MB / 0.5361 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/0.795, allocations: 2.172 MB / 0.5382 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002562/0.7975, allocations: 0.8098 MB / 0.539 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/0.7993, allocations: 1.061 MB / 0.5401 GB, free: 5.914 MB / 394.7 MB Notification: Performance of SimCode: time 1.973e-06/0.7993, allocations: 0 / 0.5401 GB, free: 5.914 MB / 394.7 MB Notification: Performance of Templates: time 0.2483/1.048, allocations: 81.33 MB / 0.6195 GB, free: 108.2 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.083789704367518]