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.001483/0.001483, allocations: 116.1 kB / 18.45 MB, free: 4.602 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.00157/0.00157, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.473/1.473, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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.001711/0.001711, allocations: 47.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1126, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0336/0.1462, allocations: 27.08 MB / 446.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2462/0.3923, allocations: 8.055 MB / 454.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006726/0.3991, allocations: 198.8 kB / 454.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02304/0.4221, allocations: 9.467 MB / 463.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01539/0.4375, allocations: 3.374 MB / 467.2 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006769/0.4443, allocations: 1.825 MB / 469 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01911/0.4634, allocations: 12.15 MB / 481.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04167/0.505, allocations: 18.65 MB / 499.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01468/0.5197, allocations: 6.475 MB / 0.4944 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01518/0.5349, allocations: 7.24 MB / 0.5014 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006841/0.5417, allocations: 1.836 MB / 0.5032 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.5519, allocations: 2.203 MB / 0.5054 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008118/0.56, allocations: 3.621 MB / 0.5089 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01813/0.5781, allocations: 6.919 MB / 0.5157 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03929/0.6174, allocations: 24.8 MB / 0.5399 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.6174, allocations: 0 / 0.5399 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6174, allocations: 0 / 0.5399 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008825/0.6183, allocations: 0 / 0.5399 GB, free: 14.65 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.05656/0.6749, allocations: 14.74 MB / 0.5543 GB, free: 15.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.6749, allocations: 8.031 kB / 0.5543 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04861/0.7235, allocations: 8.538 MB / 0.5626 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02152/0.7451, allocations: 7.669 MB / 0.5701 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/0.7461, allocations: 0.8039 MB / 0.5709 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005803/0.7519, allocations: 1.057 MB / 0.5719 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05878/0.8107, allocations: 18.29 MB / 0.5898 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005886/0.8113, allocations: 15.91 kB / 0.5898 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005053/0.8163, allocations: 445.8 kB / 0.5903 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009192/0.8173, allocations: 0.6711 MB / 0.5909 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04682/0.8641, allocations: 17.54 MB / 0.608 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4223/1.286, allocations: 58.22 MB / 0.6649 GB, free: 124.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02733/1.314, allocations: 36.95 MB / 0.701 GB, free: 91.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005585/1.319, allocations: 3.738 MB / 0.7046 GB, free: 90.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003724/1.32, allocations: 189.3 kB / 0.7048 GB, free: 89.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.609e-05/1.32, allocations: 88.28 kB / 0.7049 GB, free: 89.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 7.554e-06/1.32, allocations: 0 / 0.7049 GB, free: 89.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.04079/1.361, allocations: 21.55 MB / 0.7259 GB, free: 77.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.361, allocations: 107.5 kB / 0.726 GB, free: 77.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005653/1.366, allocations: 4.177 MB / 0.7301 GB, free: 75.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005998/1.367, allocations: 108.7 kB / 0.7302 GB, free: 75.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002234/1.369, allocations: 4.669 MB / 0.7348 GB, free: 70.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.371, allocations: 1.865 MB / 0.7366 GB, free: 69.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/1.372, allocations: 1.356 MB / 0.7379 GB, free: 68.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/1.372, allocations: 305.1 kB / 0.7382 GB, free: 68.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004061/1.376, allocations: 3.438 MB / 0.7416 GB, free: 66.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00534/1.382, allocations: 5.884 MB / 0.7473 GB, free: 60.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009603/1.391, allocations: 10.02 MB / 0.7571 GB, free: 48.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.795e-05/1.391, allocations: 24 kB / 0.7571 GB, free: 48.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01409/1.405, allocations: 10.94 MB / 0.7678 GB, free: 37.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/1.405, allocations: 36.62 kB / 0.7678 GB, free: 37.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.405, allocations: 80 kB / 0.7679 GB, free: 37.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/1.409, allocations: 1.445 MB / 0.7693 GB, free: 36.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004866/1.414, allocations: 1.607 MB / 0.7709 GB, free: 34.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.427, allocations: 11.5 MB / 0.7821 GB, free: 23.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/1.431, allocations: 411.5 kB / 0.7825 GB, free: 22.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/1.432, allocations: 336 kB / 0.7828 GB, free: 22.34 MB / 0.5137 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.006844/1.439, allocations: 4.157 MB / 0.7869 GB, free: 18.17 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.44, allocations: 0.489 MB / 0.7874 GB, free: 17.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.452, allocations: 8.432 MB / 0.7956 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008722/1.461, allocations: 7.045 MB / 0.8025 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.461, allocations: 12 kB / 0.8025 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-05/1.461, allocations: 31.89 kB / 0.8025 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04387/1.505, allocations: 18.73 MB / 0.8208 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/1.505, allocations: 7.938 kB / 0.8208 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004387/1.509, allocations: 0.9364 MB / 0.8217 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/1.513, allocations: 1.297 MB / 0.823 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/1.514, allocations: 112 kB / 0.8231 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.532, allocations: 10.19 MB / 0.8331 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.532, allocations: 11.88 kB / 0.8331 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/1.558, allocations: 12.25 MB / 0.845 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004539/1.562, allocations: 1.181 MB / 0.8462 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/1.564, allocations: 95.94 kB / 0.8463 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/1.568, allocations: 275.8 kB / 0.8466 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/1.569, allocations: 344.5 kB / 0.8469 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007789/1.57, allocations: 148 kB / 0.847 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006345/1.576, allocations: 2.815 MB / 0.8498 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.576, allocations: 0 / 0.8498 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.3078/1.884, allocations: 1.93 MB / 0.8517 GB, free: 184.9 MB / 0.5606 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.001601/1.886, allocations: 309.6 kB / 0.852 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01643/1.902, allocations: 8.382 MB / 0.8601 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/1.902, allocations: 1.312 kB / 0.8601 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008126/1.91, allocations: 3.891 MB / 0.8639 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005919/1.916, allocations: 1.125 MB / 0.865 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/1.958, allocations: 19.18 MB / 0.8838 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008467/1.966, allocations: 6.794 MB / 0.8904 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/1.969, allocations: 467.8 kB / 0.8908 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.915e-06/1.969, allocations: 0 / 0.8908 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.5138/2.483, allocations: 183 MB / 1.07 GB, free: 177.9 MB / 0.5606 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/jenkins1/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/jenkins1/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: 18.965493575989967]