Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001818/0.001818, allocations: 107 kB / 21.18 MB, free: 0.6484 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.0022/0.0022, allocations: 209 kB / 24.48 MB, free: 3.941 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.781 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01178/0.2679, allocations: 8.37 MB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.2738, allocations: 2.878 MB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.2751, allocations: 59.62 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.2769, allocations: 0.621 MB / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.2795, allocations: 0.8196 MB / 445.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.2804, allocations: 367.5 kB / 445.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003323/0.2837, allocations: 2.672 MB / 448.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.2855, allocations: 1.166 MB / 449.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.2872, allocations: 1.238 MB / 450.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.2896, allocations: 1.53 MB / 452.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005177/0.2901, allocations: 312 kB / 452.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008614/0.291, allocations: 407.8 kB / 452.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009252/0.2919, allocations: 0.8997 MB / 453.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.2933, allocations: 1.14 MB / 454.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.298, allocations: 4.138 MB / 458.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.298, allocations: 8 kB / 458.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.298, allocations: 0 / 458.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.953e-05/0.2981, allocations: 0 / 458.9 MB, free: 11.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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006152/0.3043, allocations: 2.865 MB / 461.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3043, allocations: 11.97 kB / 461.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3054, allocations: 335.1 kB / 462.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.3084, allocations: 1.484 MB / 463.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.3086, allocations: 148.4 kB / 463.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.3089, allocations: 211.9 kB / 464 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.3138, allocations: 2.84 MB / 466.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.067e-05/0.3138, allocations: 11.89 kB / 466.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.314, allocations: 83.98 kB / 466.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3141, allocations: 91.94 kB / 467 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/0.3183, allocations: 2.326 MB / 469.3 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.3314, allocations: 7.242 MB / 476.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.3334, allocations: 1.239 MB / 477.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.3355, allocations: 1.015 MB / 478.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.3357, allocations: 48.97 kB / 478.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.3357, allocations: 51.5 kB / 478.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.065e-06/0.3357, allocations: 0 / 478.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01378/0.3495, allocations: 5.924 MB / 484.9 MB, free: 1.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3496, allocations: 64.41 kB / 484.9 MB, free: 1.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.352, allocations: 1.393 MB / 486.3 MB, free: 52 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.3521, allocations: 45.7 kB / 486.4 MB, free: 0 / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008984/0.353, allocations: 1.024 MB / 487.4 MB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/0.3535, allocations: 444.3 kB / 487.8 MB, free: 14.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005234/0.354, allocations: 251.5 kB / 488.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.3542, allocations: 357.9 kB / 488.4 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3554, allocations: 0.73 MB / 489.1 MB, free: 13.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.357, allocations: 1.055 MB / 490.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.3598, allocations: 1.879 MB / 492.1 MB, free: 10 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.3598, allocations: 4 kB / 492.1 MB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004396/0.3642, allocations: 2.342 MB / 494.4 MB, free: 7.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3642, allocations: 8 kB / 494.4 MB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3642, allocations: 12.34 kB / 494.4 MB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.3653, allocations: 407.1 kB / 494.8 MB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3666, allocations: 331.5 kB / 495.2 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.3724, allocations: 4.787 MB / 499.9 MB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.3736, allocations: 91.84 kB / 0.4883 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.3737, allocations: 55.98 kB / 0.4884 GB, free: 1.742 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001294/0.375, allocations: 0.712 MB / 0.4891 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.3753, allocations: 159 kB / 0.4892 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.3795, allocations: 2.12 MB / 0.4913 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.3795, allocations: 12 kB / 0.4913 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3795, allocations: 0 / 0.4913 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.3795, allocations: 11.97 kB / 0.4913 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008289/0.3878, allocations: 4.035 MB / 0.4952 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.3878, allocations: 0 / 0.4952 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.3888, allocations: 219.7 kB / 0.4955 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.3903, allocations: 473.9 kB / 0.4959 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.3904, allocations: 35.97 kB / 0.4959 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/0.3976, allocations: 6.265 MB / 0.5021 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3976, allocations: 0 / 0.5021 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.4031, allocations: 3.177 MB / 0.5052 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.4043, allocations: 331 kB / 0.5055 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.4045, allocations: 27.94 kB / 0.5055 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008346/0.4054, allocations: 75.91 kB / 0.5056 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.4057, allocations: 108.5 kB / 0.5057 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/0.4058, allocations: 35.94 kB / 0.5057 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.4073, allocations: 0.9509 MB / 0.5066 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 0 / 0.5066 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00148/0.4088, allocations: 456 kB / 0.5071 GB, free: 14.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003806/0.4092, allocations: 191 kB / 0.5073 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003825/0.413, allocations: 2.044 MB / 0.5093 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.413, allocations: 5.875 kB / 0.5093 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.4154, allocations: 1.358 MB / 0.5106 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.4172, allocations: 404.1 kB / 0.511 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007941/0.4251, allocations: 4.547 MB / 0.5154 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.4266, allocations: 1.245 MB / 0.5166 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.4277, allocations: 384.5 kB / 0.517 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.4281, allocations: 103.4 kB / 0.5171 GB, free: 3.629 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4281, allocations: 0 / 0.5171 GB, free: 3.629 MB / 430.1 MB Notification: Performance of Templates: time 0.231/0.6591, allocations: 27.79 MB / 0.5442 GB, free: 94.97 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 6.031793073998415]