Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 52.06 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2581, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02957/0.2877, allocations: 23.19 MB / 446.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.3052, allocations: 7.739 MB / 454 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005197/0.3104, allocations: 234.8 kB / 454.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02248/0.3329, allocations: 8.748 MB / 463 MB, free: 6.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.3444, allocations: 3.381 MB / 466.4 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005814/0.3502, allocations: 1.778 MB / 468.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01919/0.3694, allocations: 12.26 MB / 480.4 MB, free: 4.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03224/0.4016, allocations: 15.83 MB / 496.3 MB, free: 4.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.4132, allocations: 6.64 MB / 0.4911 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/0.4266, allocations: 6.937 MB / 0.4979 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005089/0.4317, allocations: 1.836 MB / 0.4997 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007613/0.4393, allocations: 2.179 MB / 0.5018 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006568/0.4459, allocations: 3.604 MB / 0.5053 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01322/0.4591, allocations: 5.362 MB / 0.5106 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03328/0.4924, allocations: 24.86 MB / 0.5348 GB, free: 1.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.4924, allocations: 0 / 0.5348 GB, free: 1.336 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4924, allocations: 3.938 kB / 0.5349 GB, free: 1.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006188/0.493, allocations: 0 / 0.5349 GB, free: 1.332 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.2788/0.7717, allocations: 14.63 MB / 0.5491 GB, free: 92.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.7718, allocations: 11.88 kB / 0.5492 GB, free: 92.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04525/0.817, allocations: 8.538 MB / 0.5575 GB, free: 84.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.833, allocations: 7.791 MB / 0.5651 GB, free: 76.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007381/0.8338, allocations: 0.8058 MB / 0.5659 GB, free: 75.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004548/0.8383, allocations: 1.058 MB / 0.5669 GB, free: 74.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04003/0.8783, allocations: 18.5 MB / 0.585 GB, free: 56.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005278/0.8789, allocations: 15.94 kB / 0.585 GB, free: 56.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003516/0.8824, allocations: 455.2 kB / 0.5854 GB, free: 55.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006403/0.883, allocations: 0.6672 MB / 0.5861 GB, free: 54.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03235/0.9154, allocations: 17.43 MB / 0.6031 GB, free: 37.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08529/1.001, allocations: 50.2 MB / 0.6521 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02544/1.026, allocations: 12.64 MB / 0.6645 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007038/1.033, allocations: 3.723 MB / 0.6681 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/1.034, allocations: 99.98 kB / 0.6682 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.034, allocations: 94.56 kB / 0.6683 GB, free: 3.703 MB / 478.1 MB Notification: Performance of pre-optimization done (n=518): time 9.448e-06/1.034, allocations: 0 / 0.6683 GB, free: 3.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=524): time 0.05348/1.087, allocations: 21.17 MB / 0.689 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.087, allocations: 103.5 kB / 0.6891 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007311/1.095, allocations: 3.995 MB / 0.693 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008991/1.096, allocations: 113.7 kB / 0.6931 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004011/1.1, allocations: 4.678 MB / 0.6977 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00248/1.102, allocations: 1.871 MB / 0.6995 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003608/1.106, allocations: 1.355 MB / 0.7008 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.106, allocations: 305.1 kB / 0.7011 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006019/1.112, allocations: 3.434 MB / 0.7044 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008424/1.12, allocations: 5.891 MB / 0.7102 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/1.136, allocations: 9.992 MB / 0.72 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-05/1.136, allocations: 20 kB / 0.72 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02242/1.158, allocations: 10.84 MB / 0.7306 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/1.158, allocations: 40.06 kB / 0.7306 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/1.158, allocations: 80 kB / 0.7307 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003936/1.162, allocations: 1.374 MB / 0.732 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006548/1.169, allocations: 1.615 MB / 0.7336 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/1.188, allocations: 10.93 MB / 0.7443 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/1.192, allocations: 403.5 kB / 0.7447 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.194, allocations: 332 kB / 0.745 GB, free: 2.422 MB / 0.545 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.3833/1.577, allocations: 4.161 MB / 0.749 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.578, allocations: 478.5 kB / 0.7495 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.59, allocations: 8.383 MB / 0.7577 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009596/1.6, allocations: 6.998 MB / 0.7645 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/1.6, allocations: 11.72 kB / 0.7645 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-05/1.6, allocations: 27 kB / 0.7645 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.627, allocations: 16.09 MB / 0.7803 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.627, allocations: 3.312 kB / 0.7803 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003532/1.63, allocations: 0.9343 MB / 0.7812 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/1.633, allocations: 1.234 MB / 0.7824 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005774/1.634, allocations: 111.4 kB / 0.7825 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.646, allocations: 9.656 MB / 0.7919 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.646, allocations: 4 kB / 0.7919 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.662, allocations: 12.17 MB / 0.8038 GB, free: 147.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00304/1.665, allocations: 1.094 MB / 0.8049 GB, free: 147.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008256/1.666, allocations: 99.98 kB / 0.805 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/1.668, allocations: 268.5 kB / 0.8052 GB, free: 146.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006138/1.669, allocations: 372.2 kB / 0.8056 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.669, allocations: 152 kB / 0.8057 GB, free: 146.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003074/1.672, allocations: 2.576 MB / 0.8082 GB, free: 143.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.672, allocations: 0 / 0.8082 GB, free: 143.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005677/1.678, allocations: 1.914 MB / 0.8101 GB, free: 141.7 MB / 0.545 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.0007448/1.678, allocations: 302.3 kB / 0.8104 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.69, allocations: 8.345 MB / 0.8185 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.69, allocations: 4 kB / 0.8186 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006175/1.696, allocations: 3.886 MB / 0.8223 GB, free: 129.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.701, allocations: 1 MB / 0.8233 GB, free: 128.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/1.73, allocations: 19.55 MB / 0.8424 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007484/1.737, allocations: 6.581 MB / 0.8488 GB, free: 101.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005515/1.743, allocations: 2.288 MB / 0.8511 GB, free: 99.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.744, allocations: 407.3 kB / 0.8515 GB, free: 99.18 MB / 0.545 GB Notification: Performance of SimCode: time 1.193e-06/1.744, allocations: 0 / 0.8515 GB, free: 99.18 MB / 0.545 GB Notification: Performance of Templates: time 0.1127/1.857, allocations: 81.64 MB / 0.9312 GB, free: 18.42 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.407943634316325]