Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001323/0.001323, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.00135/0.00135, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 230.5 MB / 258.1 MB, free: 8.148 MB / 206.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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 75.81 kB / 378.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03193/0.2971, allocations: 27.17 MB / 459.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.315, allocations: 8.189 MB / 467.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005606/0.3206, allocations: 203.4 kB / 467.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02286/0.3435, allocations: 9.491 MB / 477.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.3552, allocations: 3.36 MB / 480.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005971/0.3612, allocations: 1.839 MB / 482.3 MB, free: 4.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01783/0.379, allocations: 12.29 MB / 494.6 MB, free: 8.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02805/0.4071, allocations: 14.99 MB / 0.4977 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/0.419, allocations: 6.495 MB / 0.504 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01317/0.4321, allocations: 7.3 MB / 0.5111 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005504/0.4376, allocations: 1.84 MB / 0.5129 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00764/0.4453, allocations: 2.222 MB / 0.5151 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006403/0.4517, allocations: 3.612 MB / 0.5186 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01328/0.4649, allocations: 6.93 MB / 0.5254 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2569/0.7218, allocations: 24.81 MB / 0.5496 GB, free: 43.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7218, allocations: 0 / 0.5496 GB, free: 43.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7218, allocations: 0 / 0.5496 GB, free: 43.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006999/0.7225, allocations: 0 / 0.5496 GB, free: 43.03 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.04796/0.7705, allocations: 14.77 MB / 0.5641 GB, free: 36.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7705, allocations: 9.875 kB / 0.5641 GB, free: 36.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04603/0.8166, allocations: 8.428 MB / 0.5723 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/0.834, allocations: 7.696 MB / 0.5798 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006909/0.8347, allocations: 0.8031 MB / 0.5806 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005314/0.84, allocations: 1.052 MB / 0.5816 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04417/0.8841, allocations: 18.34 MB / 0.5995 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004581/0.8846, allocations: 19.28 kB / 0.5996 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004636/0.8892, allocations: 448.2 kB / 0.6 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.8898, allocations: 0.6711 MB / 0.6006 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0361/0.9259, allocations: 17.58 MB / 0.6178 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1208/1.047, allocations: 59.38 MB / 0.6758 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03816/1.085, allocations: 36.98 MB / 0.7119 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0072/1.092, allocations: 3.741 MB / 0.7156 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/1.093, allocations: 309.9 kB / 0.7159 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/1.093, allocations: 90.61 kB / 0.716 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=518): time 7.204e-06/1.093, allocations: 0 / 0.716 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524): time 0.05282/1.146, allocations: 21.61 MB / 0.7371 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/1.146, allocations: 103.5 kB / 0.7372 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/1.153, allocations: 4.187 MB / 0.7412 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009819/1.154, allocations: 113.7 kB / 0.7413 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003681/1.157, allocations: 4.666 MB / 0.7459 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002497/1.16, allocations: 1.867 MB / 0.7477 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002369/1.162, allocations: 1.367 MB / 0.7491 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.162, allocations: 305.1 kB / 0.7494 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005744/1.168, allocations: 3.453 MB / 0.7527 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008159/1.176, allocations: 5.89 MB / 0.7585 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2695/1.446, allocations: 10.04 MB / 0.7683 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.319e-05/1.446, allocations: 23.19 kB / 0.7683 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01817/1.464, allocations: 10.96 MB / 0.779 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/1.464, allocations: 44.44 kB / 0.779 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.464, allocations: 80.73 kB / 0.7791 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/1.468, allocations: 1.443 MB / 0.7805 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005466/1.473, allocations: 1.617 MB / 0.7821 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.488, allocations: 11.49 MB / 0.7933 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.493, allocations: 408 kB / 0.7937 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.494, allocations: 339.6 kB / 0.794 GB, free: 208.1 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.006678/1.5, allocations: 4.164 MB / 0.7981 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.502, allocations: 497.8 kB / 0.7986 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.514, allocations: 8.447 MB / 0.8068 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009758/1.524, allocations: 7.073 MB / 0.8137 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.524, allocations: 12 kB / 0.8138 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-05/1.524, allocations: 27.33 kB / 0.8138 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/1.553, allocations: 18.77 MB / 0.8321 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.553, allocations: 4 kB / 0.8321 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/1.556, allocations: 0.9416 MB / 0.833 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/1.559, allocations: 1.305 MB / 0.8343 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004689/1.56, allocations: 112 kB / 0.8344 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.571, allocations: 10.2 MB / 0.8444 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.571, allocations: 3.938 kB / 0.8444 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.587, allocations: 12.3 MB / 0.8564 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.59, allocations: 1.181 MB / 0.8575 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009248/1.591, allocations: 97.64 kB / 0.8576 GB, free: 150 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.593, allocations: 267.8 kB / 0.8579 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006252/1.594, allocations: 356.2 kB / 0.8582 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/1.594, allocations: 156 kB / 0.8584 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003704/1.598, allocations: 2.819 MB / 0.8611 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.598, allocations: 0 / 0.8611 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007177/1.605, allocations: 1.934 MB / 0.863 GB, free: 144.5 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.001013/1.606, allocations: 302.2 kB / 0.8633 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.619, allocations: 8.395 MB / 0.8715 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.619, allocations: 4 kB / 0.8715 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006603/1.625, allocations: 3.912 MB / 0.8753 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006286/1.632, allocations: 1.135 MB / 0.8764 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/1.662, allocations: 19.26 MB / 0.8952 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007207/1.669, allocations: 6.795 MB / 0.9019 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.671, allocations: 0.4915 MB / 0.9024 GB, free: 104 MB / 0.5919 GB Notification: Performance of SimCode: time 1.683e-06/1.671, allocations: 0 / 0.9024 GB, free: 104 MB / 0.5919 GB Notification: Performance of Templates: time 0.4215/2.093, allocations: 185.1 MB / 1.083 GB, free: 116.4 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 18.292359683662653]