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.001292/0.001292, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001334/0.001334, allocations: 183.7 kB / 23.71 MB, free: 4.695 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.558/1.558, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.00157/0.00157, allocations: 47.92 kB / 371 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.253, allocations: 52.18 MB / 423.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0283/0.2813, allocations: 24.93 MB / 448.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.2978, allocations: 7.388 MB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004376/0.3022, allocations: 226.8 kB / 455.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02115/0.3234, allocations: 8.91 MB / 464.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.3345, allocations: 3.05 MB / 467.7 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00574/0.3403, allocations: 1.749 MB / 469.4 MB, free: 260 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01569/0.356, allocations: 10.85 MB / 480.2 MB, free: 5.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02724/0.3832, allocations: 13.46 MB / 493.7 MB, free: 7.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/0.3941, allocations: 5.869 MB / 499.6 MB, free: 1.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.4051, allocations: 6.335 MB / 0.4941 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004348/0.4095, allocations: 1.668 MB / 0.4957 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006149/0.4156, allocations: 2.046 MB / 0.4977 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005082/0.4207, allocations: 3.16 MB / 0.5008 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.4313, allocations: 6.09 MB / 0.5067 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02865/0.4599, allocations: 22.38 MB / 0.5286 GB, free: 8.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4599, allocations: 0 / 0.5286 GB, free: 8.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4599, allocations: 0 / 0.5286 GB, free: 8.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005199/0.4605, allocations: 0 / 0.5286 GB, free: 8.086 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.4472/0.9077, allocations: 12.86 MB / 0.5411 GB, free: 91.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.9077, allocations: 10.64 kB / 0.5411 GB, free: 91.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03373/0.9414, allocations: 6.246 MB / 0.5472 GB, free: 90.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.955, allocations: 6.999 MB / 0.5541 GB, free: 85.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006354/0.9557, allocations: 0.6967 MB / 0.5548 GB, free: 85.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004001/0.9597, allocations: 0.9189 MB / 0.5557 GB, free: 85.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03569/0.9953, allocations: 15.74 MB / 0.571 GB, free: 69.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003135/0.9957, allocations: 19.88 kB / 0.571 GB, free: 69.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/0.9976, allocations: 390.9 kB / 0.5714 GB, free: 69.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003877/0.998, allocations: 0.5547 MB / 0.572 GB, free: 68.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02686/1.025, allocations: 14.77 MB / 0.5864 GB, free: 53.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0727/1.098, allocations: 49.82 MB / 0.635 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/1.116, allocations: 9.272 MB / 0.6441 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005248/1.122, allocations: 2.925 MB / 0.6469 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/1.122, allocations: 99 kB / 0.647 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/1.122, allocations: 73.69 kB / 0.6471 GB, free: 8.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 5.16e-06/1.122, allocations: 0 / 0.6471 GB, free: 8.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.05129/1.173, allocations: 17.23 MB / 0.6639 GB, free: 7.148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.173, allocations: 98.58 kB / 0.664 GB, free: 7.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009673/1.183, allocations: 3.689 MB / 0.6676 GB, free: 3.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.184, allocations: 89.7 kB / 0.6677 GB, free: 3.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00456/1.189, allocations: 4.123 MB / 0.6717 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002765/1.191, allocations: 1.449 MB / 0.6732 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002851/1.194, allocations: 1.14 MB / 0.6743 GB, free: 12.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/1.195, allocations: 301.1 kB / 0.6746 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00699/1.201, allocations: 2.799 MB / 0.6773 GB, free: 9.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00993/1.211, allocations: 4.953 MB / 0.6821 GB, free: 3.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.225, allocations: 8.318 MB / 0.6902 GB, free: 10.12 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.407e-05/1.225, allocations: 20 kB / 0.6903 GB, free: 10.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01889/1.244, allocations: 9.086 MB / 0.6991 GB, free: 0.9883 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/1.244, allocations: 32 kB / 0.6992 GB, free: 0.957 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/1.244, allocations: 72 kB / 0.6992 GB, free: 0.8867 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003814/1.248, allocations: 1.225 MB / 0.7004 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005371/1.253, allocations: 1.318 MB / 0.7017 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/1.27, allocations: 9.817 MB / 0.7113 GB, free: 4.395 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/1.275, allocations: 331.5 kB / 0.7116 GB, free: 4.07 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009697/1.276, allocations: 288 kB / 0.7119 GB, free: 3.789 MB / 0.5138 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.007311/1.283, allocations: 3.71 MB / 0.7155 GB, free: 68 kB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.285, allocations: 417.3 kB / 0.7159 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.298, allocations: 6.658 MB / 0.7224 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01077/1.308, allocations: 5.567 MB / 0.7279 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.532e-05/1.308, allocations: 12 kB / 0.7279 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.245e-05/1.308, allocations: 23.86 kB / 0.7279 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03123/1.34, allocations: 15.74 MB / 0.7433 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.34, allocations: 7.938 kB / 0.7433 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/1.343, allocations: 0.7177 MB / 0.744 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003529/1.346, allocations: 1.12 MB / 0.7451 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004533/1.347, allocations: 91.92 kB / 0.7452 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2572/1.604, allocations: 8.742 MB / 0.7537 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.604, allocations: 10.81 kB / 0.7537 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/1.618, allocations: 9.837 MB / 0.7633 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002645/1.621, allocations: 0.9146 MB / 0.7642 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008742/1.622, allocations: 75.5 kB / 0.7643 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.624, allocations: 206.6 kB / 0.7645 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/1.624, allocations: 297.5 kB / 0.7648 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.625, allocations: 128.9 kB / 0.7649 GB, free: 177.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003418/1.628, allocations: 2.491 MB / 0.7673 GB, free: 177 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.628, allocations: 0 / 0.7673 GB, free: 177 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00723/1.635, allocations: 1.61 MB / 0.7689 GB, free: 176.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.001023/1.636, allocations: 283.7 kB / 0.7692 GB, free: 176.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.648, allocations: 6.861 MB / 0.7759 GB, free: 174 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.648, allocations: 0 / 0.7759 GB, free: 174 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005589/1.653, allocations: 3.166 MB / 0.779 GB, free: 172.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/1.658, allocations: 0.9702 MB / 0.7799 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/1.685, allocations: 16.77 MB / 0.7963 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005949/1.691, allocations: 6.193 MB / 0.8023 GB, free: 151.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004639/1.696, allocations: 1.911 MB / 0.8042 GB, free: 149.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/1.697, allocations: 343.4 kB / 0.8045 GB, free: 149.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.014e-06/1.697, allocations: 0 / 0.8045 GB, free: 149.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1072/1.804, allocations: 71.7 MB / 0.8745 GB, free: 78.18 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: 8.325054444372654]