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.IMC_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.001461/0.001461, 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.00154/0.00154, 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.444/1.444, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 47.92 kB / 370.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2446, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02837/0.273, allocations: 21.35 MB / 444.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.291, allocations: 7.076 MB / 451.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005402/0.2964, allocations: 222.9 kB / 451.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02106/0.3175, allocations: 8.204 MB / 459.9 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.3277, allocations: 2.961 MB / 462.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.3331, allocations: 1.683 MB / 464.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01488/0.3479, allocations: 10.85 MB / 475.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03012/0.3781, allocations: 14.15 MB / 489.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.3882, allocations: 5.884 MB / 495.5 MB, free: 5.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.3991, allocations: 6.034 MB / 0.4898 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004229/0.4033, allocations: 1.668 MB / 0.4914 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006007/0.4093, allocations: 2.019 MB / 0.4934 GB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005533/0.4148, allocations: 3.16 MB / 0.4965 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009894/0.4247, allocations: 4.709 MB / 0.501 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03136/0.4561, allocations: 22.45 MB / 0.523 GB, free: 13.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4561, allocations: 7.938 kB / 0.523 GB, free: 13.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4561, allocations: 0 / 0.523 GB, free: 13.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006335/0.4567, allocations: 0 / 0.523 GB, free: 13.58 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04066/0.4974, allocations: 12.86 MB / 0.5355 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4974, allocations: 8.031 kB / 0.5356 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4562/0.9536, allocations: 6.238 MB / 0.5416 GB, free: 97.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/0.9676, allocations: 6.996 MB / 0.5485 GB, free: 92.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/0.9681, allocations: 0.7017 MB / 0.5492 GB, free: 92.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/0.9712, allocations: 0.9173 MB / 0.5501 GB, free: 91.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03049/1.002, allocations: 15.89 MB / 0.5656 GB, free: 75.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/1.002, allocations: 19.89 kB / 0.5656 GB, free: 75.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/1.003, allocations: 391.6 kB / 0.566 GB, free: 74.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003887/1.004, allocations: 0.5508 MB / 0.5665 GB, free: 74.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/1.028, allocations: 14.7 MB / 0.5809 GB, free: 59.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06406/1.092, allocations: 43.98 MB / 0.6238 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/1.108, allocations: 9.156 MB / 0.6328 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003756/1.112, allocations: 2.913 MB / 0.6356 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/1.112, allocations: 87.02 kB / 0.6357 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.112, allocations: 73.67 kB / 0.6358 GB, free: 4.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 6.903e-06/1.112, allocations: 3.938 kB / 0.6358 GB, free: 4.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.03841/1.15, allocations: 17.03 MB / 0.6524 GB, free: 3.125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/1.15, allocations: 94.58 kB / 0.6525 GB, free: 3.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005877/1.156, allocations: 3.584 MB / 0.656 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007325/1.157, allocations: 93.7 kB / 0.6561 GB, free: 15.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003342/1.16, allocations: 4.141 MB / 0.6601 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.162, allocations: 1.449 MB / 0.6615 GB, free: 9.695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/1.164, allocations: 1.148 MB / 0.6627 GB, free: 8.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/1.164, allocations: 301.1 kB / 0.6629 GB, free: 8.238 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00545/1.17, allocations: 2.787 MB / 0.6657 GB, free: 5.445 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007508/1.177, allocations: 4.974 MB / 0.6705 GB, free: 15.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.19, allocations: 8.294 MB / 0.6786 GB, free: 6.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.123e-05/1.19, allocations: 20 kB / 0.6786 GB, free: 6.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01985/1.21, allocations: 9.031 MB / 0.6875 GB, free: 13.1 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.21, allocations: 39.98 kB / 0.6875 GB, free: 13.06 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/1.211, allocations: 75.94 kB / 0.6876 GB, free: 12.99 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003713/1.214, allocations: 1.186 MB / 0.6887 GB, free: 11.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005465/1.22, allocations: 1.322 MB / 0.69 GB, free: 10.47 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/1.237, allocations: 9.459 MB / 0.6993 GB, free: 0.8984 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.242, allocations: 339.6 kB / 0.6996 GB, free: 0.5664 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.244, allocations: 284 kB / 0.6998 GB, free: 296 kB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009104/1.253, allocations: 3.701 MB / 0.7035 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.255, allocations: 401.4 kB / 0.7038 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.269, allocations: 6.613 MB / 0.7103 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01256/1.282, allocations: 5.528 MB / 0.7157 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.039e-05/1.282, allocations: 8 kB / 0.7157 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.57e-05/1.282, allocations: 19.92 kB / 0.7157 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03519/1.317, allocations: 13.42 MB / 0.7288 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/1.317, allocations: 8 kB / 0.7288 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003671/1.321, allocations: 0.7261 MB / 0.7296 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00365/1.324, allocations: 1.08 MB / 0.7306 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008894/1.325, allocations: 87.98 kB / 0.7307 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/1.342, allocations: 8.415 MB / 0.7389 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.342, allocations: 7.938 kB / 0.7389 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2776/1.619, allocations: 9.763 MB / 0.7485 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003296/1.623, allocations: 0.8971 MB / 0.7493 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008652/1.624, allocations: 77.64 kB / 0.7494 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/1.626, allocations: 199.2 kB / 0.7496 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006937/1.626, allocations: 304.6 kB / 0.7499 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00026/1.627, allocations: 120.3 kB / 0.75 GB, free: 185.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003342/1.63, allocations: 2.327 MB / 0.7523 GB, free: 184.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/1.63, allocations: 0 / 0.7523 GB, free: 184.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005406/1.636, allocations: 1.602 MB / 0.7538 GB, free: 184.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000725/1.636, allocations: 277.8 kB / 0.7541 GB, free: 184.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.646, allocations: 6.842 MB / 0.7608 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.646, allocations: 0 / 0.7608 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005407/1.652, allocations: 3.157 MB / 0.7639 GB, free: 180.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/1.656, allocations: 0.8582 MB / 0.7647 GB, free: 180.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/1.679, allocations: 16.74 MB / 0.7811 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005683/1.685, allocations: 5.743 MB / 0.7867 GB, free: 164.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004332/1.689, allocations: 1.882 MB / 0.7885 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009262/1.69, allocations: 336.5 kB / 0.7888 GB, free: 163.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.69, allocations: 4 kB / 0.7888 GB, free: 163.1 MB / 0.545 GB Notification: Performance of Templates: time 0.09719/1.787, allocations: 69.01 MB / 0.8562 GB, free: 96.08 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: 7.94052879139781]