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.001241/0.001241, allocations: 118.8 kB / 19.18 MB, free: 3.762 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.001282/0.001282, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.413/1.413, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.001874/0.001874, allocations: 67.83 kB / 374.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1026, allocations: 53.32 MB / 428.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2236/0.3262, allocations: 24.99 MB / 453.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.3448, allocations: 8.078 MB / 461.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006024/0.3509, allocations: 178.3 kB / 461.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02027/0.3711, allocations: 8.464 MB / 469.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.3827, allocations: 3.076 MB / 472.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005932/0.3886, allocations: 1.848 MB / 474.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0163/0.4049, allocations: 11.21 MB / 486 MB, free: 6.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0278/0.4327, allocations: 17.41 MB / 0.4916 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.4434, allocations: 5.931 MB / 0.4974 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.456, allocations: 6.553 MB / 0.5038 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004907/0.4609, allocations: 1.715 MB / 0.5054 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007913/0.4688, allocations: 2.152 MB / 0.5075 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006002/0.4748, allocations: 3.402 MB / 0.5109 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.4867, allocations: 6.362 MB / 0.5171 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03181/0.5185, allocations: 23.19 MB / 0.5397 GB, free: 3.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.5185, allocations: 4 kB / 0.5397 GB, free: 3.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5185, allocations: 0 / 0.5397 GB, free: 3.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005409/0.519, allocations: 0 / 0.5397 GB, free: 3.848 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.04064/0.5597, allocations: 13.64 MB / 0.5531 GB, free: 6.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5597, allocations: 16.03 kB / 0.5531 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03695/0.5967, allocations: 6.244 MB / 0.5592 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01659/0.6132, allocations: 7.294 MB / 0.5663 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008885/0.6141, allocations: 0.7185 MB / 0.567 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004123/0.6183, allocations: 0.9491 MB / 0.5679 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04852/0.6668, allocations: 16.17 MB / 0.5837 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005523/0.6673, allocations: 7.953 kB / 0.5837 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004488/0.6718, allocations: 400 kB / 0.5841 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/0.673, allocations: 0.563 MB / 0.5846 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05149/0.7244, allocations: 15.15 MB / 0.5994 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5024/1.227, allocations: 52.64 MB / 0.6508 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/1.245, allocations: 19.7 MB / 0.6701 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/1.251, allocations: 3.326 MB / 0.6733 GB, free: 107.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/1.252, allocations: 300 kB / 0.6736 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/1.252, allocations: 85.84 kB / 0.6737 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 7.654e-06/1.252, allocations: 0 / 0.6737 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04849/1.3, allocations: 20.76 MB / 0.694 GB, free: 95.76 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/1.3, allocations: 100.6 kB / 0.6941 GB, free: 95.69 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00627/1.306, allocations: 4.511 MB / 0.6985 GB, free: 93.39 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/1.307, allocations: 98.77 kB / 0.6986 GB, free: 93.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.309, allocations: 4.337 MB / 0.7028 GB, free: 90.12 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.31, allocations: 1.617 MB / 0.7044 GB, free: 88.72 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/1.311, allocations: 1.208 MB / 0.7056 GB, free: 88.03 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.883e-05/1.311, allocations: 301.1 kB / 0.7059 GB, free: 87.73 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/1.315, allocations: 3.071 MB / 0.7089 GB, free: 85.78 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004231/1.319, allocations: 5.22 MB / 0.7139 GB, free: 79.59 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008566/1.328, allocations: 8.887 MB / 0.7226 GB, free: 69.73 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.963e-05/1.328, allocations: 20 kB / 0.7226 GB, free: 69.71 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01444/1.342, allocations: 9.864 MB / 0.7323 GB, free: 59.82 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/1.342, allocations: 39.98 kB / 0.7323 GB, free: 59.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.343, allocations: 68 kB / 0.7324 GB, free: 59.72 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0035/1.346, allocations: 1.407 MB / 0.7338 GB, free: 58.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005161/1.351, allocations: 1.396 MB / 0.7351 GB, free: 56.91 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/1.366, allocations: 12.68 MB / 0.7475 GB, free: 43.97 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.371, allocations: 355.5 kB / 0.7478 GB, free: 43.62 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009146/1.371, allocations: 296 kB / 0.7481 GB, free: 43.33 MB / 0.5138 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.005419/1.377, allocations: 3.892 MB / 0.7519 GB, free: 39.43 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.378, allocations: 480.9 kB / 0.7524 GB, free: 38.95 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/1.39, allocations: 8.475 MB / 0.7607 GB, free: 30.42 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008621/1.398, allocations: 6.228 MB / 0.7667 GB, free: 24.17 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/1.398, allocations: 12 kB / 0.7668 GB, free: 24.16 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/1.399, allocations: 23.86 kB / 0.7668 GB, free: 24.14 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02548/1.424, allocations: 17.41 MB / 0.7838 GB, free: 6.637 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/1.424, allocations: 8 kB / 0.7838 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/1.427, allocations: 0.8153 MB / 0.7846 GB, free: 5.812 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003287/1.431, allocations: 1.278 MB / 0.7858 GB, free: 4.523 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006331/1.431, allocations: 115.9 kB / 0.7859 GB, free: 4.41 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/1.447, allocations: 11.56 MB / 0.7972 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.447, allocations: 16 kB / 0.7972 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02111/1.468, allocations: 11.2 MB / 0.8082 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003008/1.471, allocations: 1.123 MB / 0.8093 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000889/1.472, allocations: 92 kB / 0.8094 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.475, allocations: 227.7 kB / 0.8096 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008207/1.476, allocations: 343.4 kB / 0.8099 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/1.476, allocations: 140 kB / 0.81 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005407/1.481, allocations: 3.111 MB / 0.8131 GB, free: 8.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.481, allocations: 0 / 0.8131 GB, free: 8.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007324/1.489, allocations: 1.723 MB / 0.8148 GB, free: 6.449 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * 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,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002154/1.491, allocations: 0.5404 MB / 0.8153 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.506, allocations: 7.67 MB / 0.8228 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.506, allocations: 1 kB / 0.8228 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007942/1.514, allocations: 3.698 MB / 0.8264 GB, free: 10.65 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005855/1.519, allocations: 1.058 MB / 0.8274 GB, free: 9.621 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2356/1.755, allocations: 17.95 MB / 0.845 GB, free: 178.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007836/1.763, allocations: 6.328 MB / 0.8511 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/1.765, allocations: 457.6 kB / 0.8516 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.092e-06/1.765, allocations: 0 / 0.8516 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.4722/2.237, allocations: 230.4 MB / 1.077 GB, free: 171.6 MB / 0.5607 GB " [Timeout remaining time 658] 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: 19.99873641016893]