Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001632/0.001632, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001828/0.001828, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.89 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.244, allocations: 53.41 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01091/0.2549, allocations: 7.948 MB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006309/0.2612, allocations: 2.785 MB / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.2626, allocations: 51.69 kB / 443.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2645, allocations: 0.5938 MB / 443.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.2673, allocations: 0.7769 MB / 444.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2683, allocations: 335.5 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003377/0.2717, allocations: 2.381 MB / 447.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.2736, allocations: 0.9921 MB / 448.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.276, allocations: 1.102 MB / 449.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.2787, allocations: 1.3 MB / 450.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005775/0.2793, allocations: 284 kB / 450.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.2803, allocations: 383.8 kB / 451.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009233/0.2812, allocations: 0.8102 MB / 452.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.2827, allocations: 1.023 MB / 453.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.2873, allocations: 3.733 MB / 456.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.2873, allocations: 4 kB / 456.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2873, allocations: 3.938 kB / 456.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001135/0.2874, allocations: 0 / 456.9 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006081/0.2935, allocations: 2.575 MB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2935, allocations: 15.98 kB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2946, allocations: 299.3 kB / 459.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.2976, allocations: 1.353 MB / 461.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2977, allocations: 132 kB / 461.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.2981, allocations: 191.9 kB / 461.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004464/0.3025, allocations: 2.506 MB / 463.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-05/0.3026, allocations: 8 kB / 463.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.3028, allocations: 68 kB / 464 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.3029, allocations: 91.48 kB / 464.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.3066, allocations: 2.012 MB / 466.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.3191, allocations: 6.394 MB / 472.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.321, allocations: 0.9799 MB / 473.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.3227, allocations: 0.8611 MB / 474.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.3229, allocations: 44.97 kB / 474.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.323, allocations: 51.55 kB / 474.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.566e-06/0.323, allocations: 0 / 474.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009925/0.3329, allocations: 4.679 MB / 479.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.333, allocations: 60.41 kB / 479.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.3351, allocations: 1.253 MB / 480.4 MB, free: 5.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.3353, allocations: 45.7 kB / 480.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008154/0.3361, allocations: 0.9376 MB / 481.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.3365, allocations: 372.9 kB / 481.8 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/0.3369, allocations: 210.9 kB / 482 MB, free: 4.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.337, allocations: 353.9 kB / 482.3 MB, free: 4.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.3381, allocations: 0.6311 MB / 483 MB, free: 3.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.3394, allocations: 0.922 MB / 483.9 MB, free: 2.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/0.3419, allocations: 1.657 MB / 485.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3419, allocations: 0 / 485.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004528/0.3464, allocations: 2.36 MB / 487.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.3464, allocations: 11.98 kB / 487.9 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.3465, allocations: 16.25 kB / 487.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.3484, allocations: 0.7087 MB / 488.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.3494, allocations: 235.6 kB / 488.9 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.3626, allocations: 8.391 MB / 497.3 MB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.3639, allocations: 83.86 kB / 497.3 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.3641, allocations: 44 kB / 497.4 MB, free: 4.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00139/0.3655, allocations: 0.638 MB / 498 MB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004814/0.3659, allocations: 139.1 kB / 498.2 MB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.37, allocations: 1.885 MB / 0.4883 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.37, allocations: 15.94 kB / 0.4883 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.37, allocations: 4 kB / 0.4883 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.37, allocations: 3.984 kB / 0.4883 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008306/0.3784, allocations: 3.53 MB / 0.4918 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.3784, allocations: 0 / 0.4918 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/0.3792, allocations: 188 kB / 0.492 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.3806, allocations: 454.9 kB / 0.4924 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.3807, allocations: 35.92 kB / 0.4924 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007755/0.3885, allocations: 6.266 MB / 0.4986 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.3885, allocations: 4 kB / 0.4986 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00521/0.3937, allocations: 2.768 MB / 0.5013 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009816/0.3947, allocations: 271 kB / 0.5015 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.395, allocations: 27.98 kB / 0.5015 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.3959, allocations: 67.92 kB / 0.5016 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.3963, allocations: 88.72 kB / 0.5017 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.3964, allocations: 31.98 kB / 0.5017 GB, free: 3.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.3981, allocations: 0.8575 MB / 0.5026 GB, free: 2.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3981, allocations: 0 / 0.5026 GB, free: 2.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001789/0.3999, allocations: 431.9 kB / 0.503 GB, free: 2.355 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.4003, allocations: 179 kB / 0.5031 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004164/0.4045, allocations: 1.926 MB / 0.505 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.4045, allocations: 4 kB / 0.505 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.4069, allocations: 1.226 MB / 0.5062 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.409, allocations: 319.8 kB / 0.5065 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008497/0.4175, allocations: 4.13 MB / 0.5106 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.4192, allocations: 1.095 MB / 0.5116 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/0.4197, allocations: 103.4 kB / 0.5117 GB, free: 9.219 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4197, allocations: 0 / 0.5117 GB, free: 9.219 MB / 430.1 MB Notification: Performance of Templates: time 0.2655/0.6853, allocations: 52.91 MB / 0.5634 GB, free: 84.84 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 11.841569421812892]