Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 210.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 47.88 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2584, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01086/0.2693, allocations: 7.957 MB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006026/0.2753, allocations: 2.781 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.2767, allocations: 55.62 kB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.2786, allocations: 0.5823 MB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.2814, allocations: 0.7846 MB / 443.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.2824, allocations: 335.5 kB / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.2857, allocations: 2.381 MB / 446.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.2873, allocations: 1.017 MB / 447.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.2892, allocations: 1.102 MB / 448.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002451/0.2916, allocations: 1.386 MB / 450 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004961/0.2921, allocations: 280 kB / 450.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008773/0.293, allocations: 383.8 kB / 450.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009476/0.2939, allocations: 0.8141 MB / 451.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.2958, allocations: 1.023 MB / 452.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005475/0.3012, allocations: 3.728 MB / 456.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3013, allocations: 3.938 kB / 456.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3013, allocations: 0 / 456.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.3014, allocations: 0 / 456.2 MB, free: 14.01 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.006995/0.3084, allocations: 2.583 MB / 458.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.985e-05/0.3084, allocations: 12.03 kB / 458.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.3098, allocations: 303.3 kB / 459.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.313, allocations: 1.341 MB / 460.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.3131, allocations: 143.9 kB / 460.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.3135, allocations: 183.9 kB / 460.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/0.3181, allocations: 2.514 MB / 463.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.3182, allocations: 4 kB / 463.2 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.3184, allocations: 72 kB / 463.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.3185, allocations: 87.48 kB / 463.4 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.3222, allocations: 2.016 MB / 465.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3352, allocations: 6.394 MB / 471.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.3371, allocations: 0.9782 MB / 472.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.3388, allocations: 0.8658 MB / 473.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.339, allocations: 40.97 kB / 473.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.3391, allocations: 43.56 kB / 473.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.206e-06/0.3391, allocations: 4 kB / 473.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01011/0.3492, allocations: 4.683 MB / 478.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3493, allocations: 68.34 kB / 478.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.3513, allocations: 1.257 MB / 479.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3515, allocations: 41.7 kB / 479.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/0.3522, allocations: 0.9337 MB / 480.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.3526, allocations: 368.9 kB / 481.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.353, allocations: 218.9 kB / 481.3 MB, free: 4.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3532, allocations: 349.9 kB / 481.6 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3542, allocations: 0.6311 MB / 482.3 MB, free: 3.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.3555, allocations: 0.922 MB / 483.2 MB, free: 2.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.3579, allocations: 1.645 MB / 484.8 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.3579, allocations: 4 kB / 484.8 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004615/0.3625, allocations: 2.364 MB / 487.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.3626, allocations: 12 kB / 487.2 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.3626, allocations: 11.98 kB / 487.2 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.3646, allocations: 0.7206 MB / 487.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3656, allocations: 231.7 kB / 488.2 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.3774, allocations: 8.391 MB / 496.6 MB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.3787, allocations: 79.88 kB / 496.6 MB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.3788, allocations: 47.98 kB / 496.7 MB, free: 4.574 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.00125/0.38, allocations: 0.6419 MB / 497.3 MB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.3803, allocations: 147.1 kB / 497.5 MB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.3838, allocations: 1.881 MB / 499.3 MB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.3838, allocations: 8 kB / 499.4 MB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3838, allocations: 4 kB / 499.4 MB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3839, allocations: 3.984 kB / 499.4 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007135/0.391, allocations: 3.522 MB / 0.4911 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.391, allocations: 0 / 0.4911 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008463/0.3918, allocations: 179.9 kB / 0.4913 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.3932, allocations: 471.1 kB / 0.4917 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-05/0.3933, allocations: 27.98 kB / 0.4917 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007115/0.4004, allocations: 6.268 MB / 0.4979 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4004, allocations: 4.031 kB / 0.4979 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/0.4052, allocations: 2.764 MB / 0.5006 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.4063, allocations: 274.9 kB / 0.5008 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.4065, allocations: 27.98 kB / 0.5009 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/0.4072, allocations: 75.86 kB / 0.5009 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.4075, allocations: 84.78 kB / 0.501 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.633e-05/0.4076, allocations: 27.98 kB / 0.501 GB, free: 3.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.409, allocations: 0.8575 MB / 0.5019 GB, free: 2.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.409, allocations: 0 / 0.5019 GB, free: 2.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001612/0.4106, allocations: 439.9 kB / 0.5023 GB, free: 2.422 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.0004008/0.411, allocations: 179 kB / 0.5025 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00367/0.4146, allocations: 1.941 MB / 0.5044 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4146, allocations: 1.875 kB / 0.5044 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.4168, allocations: 1.221 MB / 0.5056 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.4187, allocations: 324.3 kB / 0.5059 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/0.4264, allocations: 4.08 MB / 0.5099 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.4281, allocations: 1.114 MB / 0.5109 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.4291, allocations: 303 kB / 0.5112 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.4295, allocations: 91.42 kB / 0.5113 GB, free: 9.016 MB / 430.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4295, allocations: 0 / 0.5113 GB, free: 9.016 MB / 430.1 MB Notification: Performance of Templates: time 0.2462/0.6756, allocations: 25.89 MB / 0.5366 GB, free: 103.9 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.740905812010169]