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.002008/0.002008, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001697/0.001697, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.497/1.497, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.002013/0.002013, allocations: 63.83 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2767, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03332/0.31, allocations: 27.16 MB / 459.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.3313, allocations: 8.197 MB / 467.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008299/0.3396, allocations: 199.4 kB / 467.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02453/0.3641, allocations: 9.491 MB / 477.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.3797, allocations: 3.365 MB / 480.5 MB, free: 6.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006829/0.3865, allocations: 1.841 MB / 482.3 MB, free: 4.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02066/0.4072, allocations: 12.28 MB / 494.6 MB, free: 8.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03639/0.4436, allocations: 14.99 MB / 0.4977 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/0.4571, allocations: 6.507 MB / 0.504 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01466/0.4717, allocations: 7.293 MB / 0.5111 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006447/0.4782, allocations: 1.84 MB / 0.5129 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009185/0.4874, allocations: 2.226 MB / 0.5151 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00844/0.4958, allocations: 3.616 MB / 0.5186 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.017/0.5128, allocations: 6.923 MB / 0.5254 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3629/0.8757, allocations: 24.81 MB / 0.5496 GB, free: 42.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.8757, allocations: 2.297 kB / 0.5496 GB, free: 42.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8757, allocations: 0 / 0.5496 GB, free: 42.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001068/0.8768, allocations: 0 / 0.5496 GB, free: 42.83 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.05632/0.9331, allocations: 14.77 MB / 0.5641 GB, free: 36.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.9332, allocations: 9.5 kB / 0.5641 GB, free: 36.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04919/0.9824, allocations: 8.429 MB / 0.5723 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/1.003, allocations: 7.699 MB / 0.5798 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007512/1.003, allocations: 0.8091 MB / 0.5806 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006254/1.01, allocations: 1.054 MB / 0.5816 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05319/1.063, allocations: 18.33 MB / 0.5995 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004624/1.063, allocations: 19.89 kB / 0.5996 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005951/1.069, allocations: 449.8 kB / 0.6 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006075/1.07, allocations: 0.6672 MB / 0.6006 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04158/1.112, allocations: 17.6 MB / 0.6178 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1321/1.244, allocations: 59.37 MB / 0.6758 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04111/1.285, allocations: 36.98 MB / 0.7119 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007922/1.293, allocations: 3.752 MB / 0.7156 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/1.293, allocations: 306.8 kB / 0.7159 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/1.293, allocations: 90.62 kB / 0.716 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=518): time 8.156e-06/1.293, allocations: 0 / 0.716 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524): time 0.05872/1.352, allocations: 21.6 MB / 0.7371 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.352, allocations: 103.5 kB / 0.7371 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007387/1.36, allocations: 4.187 MB / 0.7412 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.361, allocations: 117.7 kB / 0.7414 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00415/1.365, allocations: 4.669 MB / 0.7459 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002969/1.368, allocations: 1.862 MB / 0.7477 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003097/1.371, allocations: 1.373 MB / 0.7491 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.371, allocations: 305.1 kB / 0.7494 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006035/1.377, allocations: 3.449 MB / 0.7527 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.387, allocations: 5.892 MB / 0.7585 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3311/1.719, allocations: 10.03 MB / 0.7683 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.239e-05/1.719, allocations: 20.41 kB / 0.7683 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02019/1.739, allocations: 10.96 MB / 0.779 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/1.739, allocations: 43.16 kB / 0.779 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/1.739, allocations: 77.5 kB / 0.7791 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00395/1.743, allocations: 1.446 MB / 0.7805 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006013/1.749, allocations: 1.616 MB / 0.7821 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/1.764, allocations: 11.49 MB / 0.7933 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005366/1.77, allocations: 405.2 kB / 0.7937 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.771, allocations: 348.4 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.006667/1.778, allocations: 4.161 MB / 0.7981 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.779, allocations: 499.2 kB / 0.7986 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.791, allocations: 8.443 MB / 0.8068 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01094/1.802, allocations: 7.076 MB / 0.8137 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.889e-05/1.802, allocations: 8 kB / 0.8137 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.463e-05/1.802, allocations: 31.23 kB / 0.8138 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03332/1.836, allocations: 18.77 MB / 0.8321 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.836, allocations: 4.281 kB / 0.8321 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/1.839, allocations: 0.94 MB / 0.833 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/1.843, allocations: 1.293 MB / 0.8343 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004902/1.843, allocations: 124 kB / 0.8344 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/1.855, allocations: 10.19 MB / 0.8444 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.855, allocations: 4 kB / 0.8444 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.872, allocations: 12.3 MB / 0.8564 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003714/1.876, allocations: 1.181 MB / 0.8575 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/1.877, allocations: 92 kB / 0.8576 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.88, allocations: 271.8 kB / 0.8579 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006718/1.881, allocations: 356.4 kB / 0.8582 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/1.881, allocations: 152 kB / 0.8584 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003981/1.885, allocations: 2.823 MB / 0.8611 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.885, allocations: 0 / 0.8611 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007661/1.893, 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.001068/1.894, allocations: 291.3 kB / 0.8633 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.906, allocations: 8.414 MB / 0.8715 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.906, allocations: 4.875 kB / 0.8715 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006012/1.912, allocations: 3.914 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.005072/1.917, allocations: 1.131 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.03035/1.947, allocations: 19.54 MB / 0.8955 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008011/1.955, allocations: 7.001 MB / 0.9024 GB, free: 104 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005456/1.961, allocations: 2.313 MB / 0.9046 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.962, allocations: 443.3 kB / 0.905 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/1.962, allocations: 5.531 kB / 0.905 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.4093/2.371, allocations: 83.06 MB / 0.9862 GB, free: 210.9 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 -s cvode -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: 9.28812922211364]