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.001745/0.001745, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002091/0.002091, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.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.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 0.002053/0.002053, allocations: 63.91 kB / 378.3 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2592, allocations: 53.42 MB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02945/0.2887, allocations: 23.2 MB / 454.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.3063, allocations: 7.849 MB / 462.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005218/0.3115, allocations: 234.8 kB / 463 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02185/0.3333, allocations: 8.76 MB / 471.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.3446, allocations: 3.365 MB / 475.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005729/0.3503, allocations: 1.803 MB / 476.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01717/0.3675, allocations: 12.37 MB / 489.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03165/0.3991, allocations: 15.84 MB / 0.4933 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.4103, allocations: 6.628 MB / 0.4997 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.4234, allocations: 6.992 MB / 0.5066 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004904/0.4283, allocations: 1.832 MB / 0.5084 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007224/0.4356, allocations: 2.207 MB / 0.5105 GB, free: 11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006037/0.4416, allocations: 3.601 MB / 0.514 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.4527, allocations: 5.366 MB / 0.5193 GB, free: 2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4797/0.9325, allocations: 24.88 MB / 0.5436 GB, free: 41.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.9325, allocations: 0 / 0.5436 GB, free: 41.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.9325, allocations: 0 / 0.5436 GB, free: 41.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005806/0.933, allocations: 1.188 kB / 0.5436 GB, free: 41.84 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04177/0.9748, allocations: 14.66 MB / 0.5579 GB, free: 38.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9749, allocations: 10.67 kB / 0.5579 GB, free: 38.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04629/1.021, allocations: 8.437 MB / 0.5661 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/1.042, allocations: 7.816 MB / 0.5738 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001059/1.043, allocations: 0.8042 MB / 0.5746 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007193/1.05, allocations: 1.058 MB / 0.5756 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0482/1.098, allocations: 18.55 MB / 0.5937 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006547/1.099, allocations: 7.953 kB / 0.5937 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004575/1.103, allocations: 447.8 kB / 0.5941 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005821/1.104, allocations: 0.6711 MB / 0.5948 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03671/1.141, allocations: 17.48 MB / 0.6119 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.249, allocations: 50.33 MB / 0.661 GB, free: 10.08 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0262/1.275, allocations: 12.66 MB / 0.6734 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00747/1.283, allocations: 3.732 MB / 0.677 GB, free: 11.73 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/1.283, allocations: 124 kB / 0.6771 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/1.284, allocations: 90.28 kB / 0.6772 GB, free: 11.51 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.053e-05/1.284, allocations: 4 kB / 0.6772 GB, free: 11.51 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.06037/1.344, allocations: 21.24 MB / 0.698 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.344, allocations: 103.5 kB / 0.6981 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009591/1.354, allocations: 4.003 MB / 0.702 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001027/1.355, allocations: 109.7 kB / 0.7021 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004582/1.359, allocations: 4.683 MB / 0.7067 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002729/1.362, allocations: 1.861 MB / 0.7085 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003315/1.365, allocations: 1.375 MB / 0.7098 GB, free: 9.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.365, allocations: 304.7 kB / 0.7101 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006243/1.372, allocations: 3.433 MB / 0.7135 GB, free: 6.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008509/1.38, allocations: 5.899 MB / 0.7192 GB, free: 15.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/1.396, allocations: 10.02 MB / 0.729 GB, free: 4.441 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-05/1.396, allocations: 26.62 kB / 0.729 GB, free: 4.418 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02133/1.417, allocations: 10.88 MB / 0.7397 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/1.417, allocations: 36 kB / 0.7397 GB, free: 9.918 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/1.417, allocations: 80 kB / 0.7398 GB, free: 9.84 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/1.421, allocations: 1.37 MB / 0.7411 GB, free: 8.469 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006845/1.428, allocations: 1.622 MB / 0.7427 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/1.448, allocations: 10.94 MB / 0.7534 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/1.454, allocations: 399.5 kB / 0.7538 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/1.456, allocations: 336 kB / 0.7541 GB, free: 11.25 MB / 0.5919 GB 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.009531/1.465, allocations: 4.163 MB / 0.7581 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001806/1.467, allocations: 480.9 kB / 0.7586 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.264/1.731, allocations: 8.384 MB / 0.7668 GB, free: 221.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01053/1.742, allocations: 7.031 MB / 0.7737 GB, free: 221 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/1.742, allocations: 11.91 kB / 0.7737 GB, free: 221 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/1.742, allocations: 30.47 kB / 0.7737 GB, free: 221 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/1.77, allocations: 16.12 MB / 0.7894 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.77, allocations: 2.688 kB / 0.7894 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003401/1.773, allocations: 0.9453 MB / 0.7904 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/1.776, allocations: 1.228 MB / 0.7916 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003708/1.777, allocations: 114.5 kB / 0.7917 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.789, allocations: 9.655 MB / 0.8011 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.789, allocations: 7.938 kB / 0.8011 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.805, allocations: 12.2 MB / 0.813 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003791/1.808, allocations: 1.094 MB / 0.8141 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009872/1.809, allocations: 95.22 kB / 0.8142 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/1.812, allocations: 272.5 kB / 0.8144 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006513/1.812, allocations: 373.3 kB / 0.8148 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/1.813, allocations: 151.2 kB / 0.8149 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003253/1.816, allocations: 2.58 MB / 0.8175 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.816, allocations: 0 / 0.8175 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005653/1.822, allocations: 1.923 MB / 0.8193 GB, free: 192.9 MB / 0.5919 GB 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.0007058/1.822, allocations: 298.3 kB / 0.8196 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.835, allocations: 8.376 MB / 0.8278 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/1.835, allocations: 0 / 0.8278 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006702/1.842, allocations: 3.887 MB / 0.8316 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/1.846, allocations: 1.009 MB / 0.8326 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/1.874, allocations: 19.49 MB / 0.8516 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007611/1.881, allocations: 6.582 MB / 0.858 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00543/1.887, allocations: 2.284 MB / 0.8603 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.888, allocations: 435.3 kB / 0.8607 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/1.888, allocations: 0 / 0.8607 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1124/2.001, allocations: 82.65 MB / 0.9414 GB, free: 69.21 MB / 0.5919 GB " [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.74738066084683]