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.IMC_withLosses.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.001245/0.001245, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001281/0.001281, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.367/1.367, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [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.001942/0.001942, allocations: 67.84 kB / 378.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2155, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02883/0.2444, allocations: 25.06 MB / 457.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.2592, allocations: 8.101 MB / 465.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.2624, allocations: 183.4 kB / 465.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01839/0.2808, allocations: 8.47 MB / 473.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007871/0.2887, allocations: 3.08 MB / 477 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.293, allocations: 1.84 MB / 478.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.3067, allocations: 11.25 MB / 490.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02049/0.3272, allocations: 13.9 MB / 0.4922 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007653/0.3348, allocations: 5.95 MB / 0.498 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009286/0.3441, allocations: 6.549 MB / 0.5044 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00229/0.3464, allocations: 1.715 MB / 0.5061 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.3499, allocations: 2.156 MB / 0.5082 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003107/0.353, allocations: 3.406 MB / 0.5115 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00675/0.3598, allocations: 6.362 MB / 0.5177 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3654/0.7252, allocations: 23.19 MB / 0.5404 GB, free: 40.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7252, allocations: 1.156 kB / 0.5404 GB, free: 40.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.7252, allocations: 0.5312 kB / 0.5404 GB, free: 40.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00048/0.7257, allocations: 0 / 0.5404 GB, free: 40.03 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03102/0.7567, allocations: 13.65 MB / 0.5537 GB, free: 36.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7567, allocations: 9.781 kB / 0.5537 GB, free: 36.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0322/0.7889, allocations: 6.249 MB / 0.5598 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/0.8018, allocations: 7.287 MB / 0.5669 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.8021, allocations: 0.717 MB / 0.5676 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/0.8037, allocations: 0.9532 MB / 0.5685 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.8249, allocations: 16.17 MB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001875/0.8251, allocations: 7.953 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.8261, allocations: 397.7 kB / 0.5847 GB, free: 21.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003434/0.8264, allocations: 0.5656 MB / 0.5853 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.8454, allocations: 15.14 MB / 0.6001 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07541/0.9208, allocations: 52.65 MB / 0.6515 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/0.9416, allocations: 19.69 MB / 0.6707 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005515/0.9471, allocations: 3.328 MB / 0.6739 GB, free: 7.785 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/0.9475, allocations: 296.1 kB / 0.6742 GB, free: 7.484 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/0.9476, allocations: 78.06 kB / 0.6743 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 6.382e-06/0.9476, allocations: 0 / 0.6743 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.0513/0.9989, allocations: 20.78 MB / 0.6946 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.999, allocations: 94.95 kB / 0.6947 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006326/1.005, allocations: 4.514 MB / 0.6991 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000279/1.006, allocations: 97.7 kB / 0.6992 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003152/1.009, allocations: 4.335 MB / 0.7034 GB, free: 9.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.01, allocations: 1.611 MB / 0.705 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/1.012, allocations: 1.212 MB / 0.7062 GB, free: 6.715 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.012, allocations: 301.1 kB / 0.7065 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/1.017, allocations: 3.069 MB / 0.7095 GB, free: 3.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006706/1.024, allocations: 5.219 MB / 0.7146 GB, free: 13.18 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.036, allocations: 8.885 MB / 0.7232 GB, free: 3.613 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/1.036, allocations: 20 kB / 0.7233 GB, free: 3.594 MB / 0.5607 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01709/1.053, allocations: 9.868 MB / 0.7329 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/1.053, allocations: 36 kB / 0.7329 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.7e-05/1.053, allocations: 68.34 kB / 0.733 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004036/1.057, allocations: 1.41 MB / 0.7344 GB, free: 8.645 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004876/1.062, allocations: 1.388 MB / 0.7357 GB, free: 7.352 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/1.081, allocations: 12.69 MB / 0.7481 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/1.085, allocations: 347.7 kB / 0.7484 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000496/1.085, allocations: 300 kB / 0.7487 GB, free: 9.828 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005806/1.091, allocations: 3.888 MB / 0.7525 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008955/1.092, allocations: 488.8 kB / 0.753 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2022/1.294, allocations: 8.467 MB / 0.7613 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.393e-05/1.294, allocations: 30.42 kB / 0.7613 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/1.294, allocations: 0 / 0.7613 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002848/1.297, allocations: 1.101 MB / 0.7624 GB, free: 225 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.298, allocations: 78.42 kB / 0.7624 GB, free: 225 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.301, allocations: 219.3 kB / 0.7627 GB, free: 225 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005153/1.302, allocations: 335.4 kB / 0.763 GB, free: 225 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01098/1.313, allocations: 7.154 MB / 0.77 GB, free: 223.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01054/1.323, allocations: 9.202 MB / 0.7789 GB, free: 219.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002762/1.326, allocations: 2.648 MB / 0.7815 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003313/1.329, allocations: 3.115 MB / 0.7846 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of Backend: time 2.8e-07/1.329, allocations: 0 / 0.7846 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.34, allocations: 5.975 MB / 0.7904 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02047/1.36, allocations: 17.25 MB / 0.8073 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1122/1.472, allocations: 89.44 MB / 0.8946 GB, free: 113.9 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.470817954745144]