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.001536/0.001536, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001689/0.001689, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.396/1.396, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.001912/0.001912, allocations: 67.83 kB / 378.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.194, allocations: 53.31 MB / 432.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02991/0.2239, allocations: 27.17 MB / 459.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.2378, allocations: 8.197 MB / 467.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.2399, allocations: 203.4 kB / 467.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0197/0.2596, allocations: 9.475 MB / 477.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007659/0.2673, allocations: 3.369 MB / 480.5 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.2712, allocations: 1.838 MB / 482.3 MB, free: 4.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01305/0.2842, allocations: 12.29 MB / 494.6 MB, free: 8.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02091/0.3052, allocations: 14.99 MB / 0.4977 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007741/0.3129, allocations: 6.495 MB / 0.504 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009565/0.3225, allocations: 7.3 MB / 0.5111 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.3247, allocations: 1.84 MB / 0.5129 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.3281, allocations: 2.222 MB / 0.5151 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003099/0.3312, allocations: 3.616 MB / 0.5186 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006844/0.3381, allocations: 6.93 MB / 0.5254 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.204/0.542, allocations: 24.81 MB / 0.5496 GB, free: 43.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.542, allocations: 2.75 kB / 0.5496 GB, free: 43.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.542, allocations: 2.516 kB / 0.5496 GB, free: 43.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004384/0.5425, allocations: 0 / 0.5496 GB, free: 43.09 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.03287/0.5754, allocations: 14.76 MB / 0.5641 GB, free: 37.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5754, allocations: 10 kB / 0.5641 GB, free: 37.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04299/0.6184, allocations: 8.434 MB / 0.5723 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.6322, allocations: 7.687 MB / 0.5798 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/0.6326, allocations: 0.804 MB / 0.5806 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/0.6347, allocations: 1.063 MB / 0.5816 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02446/0.6592, allocations: 18.34 MB / 0.5995 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.6594, allocations: 18.2 kB / 0.5996 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/0.6606, allocations: 453.3 kB / 0.6 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004395/0.661, allocations: 0.6711 MB / 0.6007 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02528/0.6863, allocations: 17.58 MB / 0.6178 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08751/0.7738, allocations: 59.37 MB / 0.6758 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03487/0.8087, allocations: 36.99 MB / 0.7119 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005922/0.8146, allocations: 3.745 MB / 0.7156 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004594/0.815, allocations: 310.5 kB / 0.7159 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-05/0.8151, allocations: 90.62 kB / 0.716 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=518): time 7.884e-06/0.8151, allocations: 0 / 0.716 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524): time 0.04759/0.8627, allocations: 21.6 MB / 0.7371 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.8628, allocations: 103.5 kB / 0.7372 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005969/0.8688, allocations: 4.195 MB / 0.7413 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/0.8691, allocations: 105.7 kB / 0.7414 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.8724, allocations: 4.666 MB / 0.7459 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/0.8739, allocations: 1.873 MB / 0.7477 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002103/0.876, allocations: 1.371 MB / 0.7491 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8761, allocations: 301.1 kB / 0.7494 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005373/0.8815, allocations: 3.449 MB / 0.7527 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00746/0.889, allocations: 5.883 MB / 0.7585 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1926/1.082, allocations: 10.04 MB / 0.7683 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/1.082, allocations: 25 kB / 0.7683 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01447/1.096, allocations: 10.96 MB / 0.779 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/1.096, allocations: 39.22 kB / 0.7791 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.154e-05/1.096, allocations: 75.78 kB / 0.7791 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/1.1, allocations: 1.446 MB / 0.7805 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/1.105, allocations: 1.615 MB / 0.7821 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/1.118, allocations: 11.5 MB / 0.7933 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/1.122, allocations: 415.6 kB / 0.7937 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/1.122, allocations: 333.5 kB / 0.7941 GB, free: 208.2 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.004445/1.127, allocations: 4.163 MB / 0.7981 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000713/1.128, allocations: 0.4888 MB / 0.7986 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.139, allocations: 8.444 MB / 0.8068 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.322e-05/1.139, allocations: 30.8 kB / 0.8069 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.139, allocations: 0 / 0.8069 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/1.141, allocations: 1.2 MB / 0.808 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006249/1.142, allocations: 91.8 kB / 0.8081 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.144, allocations: 271.6 kB / 0.8084 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005088/1.145, allocations: 386.5 kB / 0.8088 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01145/1.156, allocations: 8.085 MB / 0.8167 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01105/1.167, allocations: 10.46 MB / 0.8269 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00311/1.171, allocations: 3.071 MB / 0.8299 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002985/1.173, allocations: 2.823 MB / 0.8326 GB, free: 176 MB / 0.5919 GB Notification: Performance of Backend: time 2e-07/1.173, allocations: 0 / 0.8326 GB, free: 176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009003/1.182, allocations: 5.962 MB / 0.8385 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.021/1.203, allocations: 18.32 MB / 0.8563 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1212/1.325, allocations: 96.27 MB / 0.9504 GB, free: 56.11 MB / 0.5919 GB " [Timeout remaining time 659] 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: 8.027069402392954]