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.001543/0.001543, allocations: 111.9 kB / 19.17 MB, free: 3.895 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.001663/0.001663, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.459/1.459, allocations: 230.4 MB / 255.4 MB, free: 9.066 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.001967/0.001967, allocations: 71.83 kB / 374.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2559, allocations: 53.32 MB / 428.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03147/0.2873, allocations: 27.11 MB / 455.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.3065, allocations: 8.181 MB / 463.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006095/0.3126, allocations: 199.4 kB / 463.6 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02256/0.3352, allocations: 9.474 MB / 473.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.3469, allocations: 3.359 MB / 476.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005898/0.3528, allocations: 1.842 MB / 478.3 MB, free: 5.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01813/0.371, allocations: 12.25 MB / 490.5 MB, free: 9.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03473/0.4057, allocations: 18.65 MB / 0.4972 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.4177, allocations: 6.48 MB / 0.5036 GB, free: 116 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01385/0.4316, allocations: 7.289 MB / 0.5107 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005738/0.4373, allocations: 1.836 MB / 0.5125 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00804/0.4454, allocations: 2.234 MB / 0.5146 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007591/0.453, allocations: 3.62 MB / 0.5182 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01456/0.4675, allocations: 6.919 MB / 0.5249 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2881/0.7556, allocations: 24.81 MB / 0.5492 GB, free: 45.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.7556, allocations: 0 / 0.5492 GB, free: 45.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7556, allocations: 1.25 kB / 0.5492 GB, free: 45.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008052/0.7564, allocations: 0 / 0.5492 GB, free: 45.3 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.05047/0.8069, allocations: 14.77 MB / 0.5636 GB, free: 38.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.8069, allocations: 17.86 kB / 0.5636 GB, free: 38.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04658/0.8535, allocations: 8.427 MB / 0.5718 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/0.8701, allocations: 7.693 MB / 0.5793 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007629/0.8708, allocations: 0.8048 MB / 0.5801 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005641/0.8765, allocations: 1.056 MB / 0.5812 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04772/0.9242, allocations: 18.34 MB / 0.5991 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004476/0.9246, allocations: 19.89 kB / 0.5991 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004484/0.9291, allocations: 453.4 kB / 0.5995 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005487/0.9297, allocations: 0.6672 MB / 0.6002 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03945/0.9691, allocations: 17.59 MB / 0.6173 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/1.086, allocations: 59.37 MB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03846/1.124, allocations: 36.97 MB / 0.7114 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007172/1.131, allocations: 3.749 MB / 0.7151 GB, free: 488 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/1.132, allocations: 305.1 kB / 0.7154 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.32e-05/1.132, allocations: 90.62 kB / 0.7155 GB, free: 64 kB / 0.545 GB Notification: Performance of pre-optimization done (n=518): time 6.432e-06/1.132, allocations: 0 / 0.7155 GB, free: 64 kB / 0.545 GB Notification: Performance of matching and sorting (n=524): time 0.05283/1.185, allocations: 21.61 MB / 0.7366 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/1.185, allocations: 106.9 kB / 0.7367 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006918/1.192, allocations: 4.187 MB / 0.7408 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000944/1.193, allocations: 112.3 kB / 0.7409 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003607/1.196, allocations: 4.667 MB / 0.7454 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2422/1.439, allocations: 1.856 MB / 0.7472 GB, free: 211.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00277/1.441, allocations: 1.37 MB / 0.7486 GB, free: 211.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/1.441, allocations: 305.7 kB / 0.7489 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005401/1.447, allocations: 3.453 MB / 0.7522 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008041/1.455, allocations: 5.89 MB / 0.758 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.466, allocations: 10.04 MB / 0.7678 GB, free: 200.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/1.466, allocations: 26.44 kB / 0.7678 GB, free: 200.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01803/1.484, allocations: 10.95 MB / 0.7785 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/1.484, allocations: 38.31 kB / 0.7786 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.485, allocations: 81.75 kB / 0.7786 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/1.488, allocations: 1.446 MB / 0.7801 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006115/1.494, allocations: 1.618 MB / 0.7816 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/1.509, allocations: 11.49 MB / 0.7929 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/1.515, allocations: 412.4 kB / 0.7932 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.516, allocations: 341.8 kB / 0.7936 GB, free: 184.8 MB / 0.5762 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.006965/1.523, allocations: 4.159 MB / 0.7976 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.524, allocations: 0.4884 MB / 0.7981 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.537, allocations: 8.456 MB / 0.8064 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.547, allocations: 7.065 MB / 0.8133 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/1.547, allocations: 12 kB / 0.8133 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.465e-05/1.547, allocations: 25.92 kB / 0.8133 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.577, allocations: 18.76 MB / 0.8316 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/1.577, allocations: 12 kB / 0.8316 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003766/1.581, allocations: 0.9361 MB / 0.8325 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/1.584, allocations: 1.305 MB / 0.8338 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009393/1.585, allocations: 118.8 kB / 0.8339 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.597, allocations: 10.18 MB / 0.8439 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.597, allocations: 4 kB / 0.8439 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.614, allocations: 12.3 MB / 0.8559 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/1.617, allocations: 1.189 MB / 0.8571 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.619, allocations: 92 kB / 0.8571 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/1.622, allocations: 267.8 kB / 0.8574 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/1.623, allocations: 356.3 kB / 0.8577 GB, free: 122 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/1.623, allocations: 156 kB / 0.8579 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004121/1.627, allocations: 2.819 MB / 0.8606 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.627, allocations: 0 / 0.8606 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008563/1.636, allocations: 1.937 MB / 0.8625 GB, free: 117.1 MB / 0.5762 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.001153/1.637, allocations: 295.6 kB / 0.8628 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.651, allocations: 8.415 MB / 0.871 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.651, allocations: 0 / 0.871 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00723/1.658, allocations: 3.906 MB / 0.8748 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007722/1.666, allocations: 1.14 MB / 0.876 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03933/1.705, allocations: 19.09 MB / 0.8946 GB, free: 84.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01188/1.717, allocations: 6.791 MB / 0.9012 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002797/1.72, allocations: 499.3 kB / 0.9017 GB, free: 76.81 MB / 0.5762 GB Notification: Performance of SimCode: time 1.944e-06/1.72, allocations: 0 / 0.9017 GB, free: 76.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.4423/2.162, allocations: 185.2 MB / 1.083 GB, free: 89.09 MB / 0.5762 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.73351826495491]