Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001696/0.001696, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 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.002106/0.002106, allocations: 162.5 kB / 24.5 MB, free: 3.449 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.428/1.428, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 64.77 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1015, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01118/0.1127, allocations: 8.384 MB / 387.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005969/0.1187, allocations: 2.871 MB / 390.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1198, allocations: 59.62 kB / 390.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.1214, allocations: 0.6211 MB / 390.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.1236, allocations: 0.8234 MB / 391.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.1244, allocations: 359.5 kB / 392 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.1274, allocations: 2.689 MB / 394.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.129, allocations: 1.121 MB / 395.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.1308, allocations: 1.238 MB / 397.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.1329, allocations: 1.467 MB / 398.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.1333, allocations: 308 kB / 398.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007554/0.1341, allocations: 403.8 kB / 399.2 MB, free: 11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008958/0.135, allocations: 0.8999 MB / 400.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.1363, allocations: 1.143 MB / 401.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.1414, allocations: 4.142 MB / 405.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1414, allocations: 0 / 405.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1414, allocations: 0 / 405.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.625e-05/0.1415, allocations: 0 / 405.4 MB, free: 4.789 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.005538/0.147, allocations: 2.857 MB / 408.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1471, allocations: 15.98 kB / 408.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.1482, allocations: 331.1 kB / 408.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.1511, allocations: 1.499 MB / 410.1 MB, free: 0 / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.1513, allocations: 152.5 kB / 410.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.1517, allocations: 207.9 kB / 410.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/0.1567, allocations: 2.832 MB / 413.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.365e-05/0.1567, allocations: 7.953 kB / 413.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.1569, allocations: 80 kB / 413.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.1571, allocations: 95.92 kB / 413.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004465/0.1615, allocations: 2.326 MB / 415.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.175, allocations: 7.254 MB / 423.1 MB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.177, allocations: 1.247 MB / 424.3 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.179, allocations: 1.004 MB / 425.3 MB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.1792, allocations: 48.95 kB / 425.4 MB, free: 420 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1792, allocations: 47.55 kB / 425.4 MB, free: 364 kB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.106e-06/0.1792, allocations: 0 / 425.4 MB, free: 364 kB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.0134/0.1926, allocations: 5.924 MB / 431.3 MB, free: 10.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1927, allocations: 68.34 kB / 431.4 MB, free: 10.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.195, allocations: 1.401 MB / 432.8 MB, free: 8.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.1952, allocations: 45.7 kB / 432.8 MB, free: 8.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008807/0.1961, allocations: 1.02 MB / 433.9 MB, free: 7.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.1965, allocations: 440.3 kB / 434.3 MB, free: 7.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.1969, allocations: 251.5 kB / 434.5 MB, free: 7.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1971, allocations: 357.9 kB / 434.9 MB, free: 6.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.1984, allocations: 0.7378 MB / 435.6 MB, free: 6.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.1998, allocations: 1.052 MB / 436.7 MB, free: 4.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/0.2026, allocations: 1.883 MB / 438.6 MB, free: 2.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.2026, allocations: 4 kB / 438.6 MB, free: 2.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004566/0.2072, allocations: 2.342 MB / 440.9 MB, free: 484 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.2072, allocations: 8 kB / 440.9 MB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.2072, allocations: 8 kB / 440.9 MB, free: 468 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/0.2082, allocations: 418.9 kB / 441.3 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.2094, allocations: 319.5 kB / 441.6 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.2151, allocations: 4.764 MB / 446.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.2164, allocations: 91.97 kB / 446.5 MB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.2165, allocations: 51.94 kB / 446.5 MB, free: 10.61 MB / 414.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.001467/0.218, allocations: 0.7147 MB / 447.3 MB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/0.2184, allocations: 159 kB / 447.4 MB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.2226, allocations: 2.12 MB / 449.5 MB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.2226, allocations: 15.94 kB / 449.6 MB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.2226, allocations: 8 kB / 449.6 MB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.2226, allocations: 15.95 kB / 449.6 MB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008857/0.2315, allocations: 4.043 MB / 453.6 MB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.2315, allocations: 7.984 kB / 453.6 MB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.2325, allocations: 227.9 kB / 453.9 MB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.2339, allocations: 462.3 kB / 454.3 MB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.234, allocations: 31.98 kB / 454.3 MB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007306/0.2413, allocations: 6.266 MB / 460.6 MB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.2413, allocations: 7.969 kB / 460.6 MB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.2475, allocations: 3.181 MB / 463.8 MB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.2487, allocations: 310.9 kB / 464.1 MB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/0.2492, allocations: 31.98 kB / 464.1 MB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.2502, allocations: 75.92 kB / 464.2 MB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.2506, allocations: 116.7 kB / 464.3 MB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.2507, allocations: 35.98 kB / 464.3 MB, free: 8.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002029/0.2527, allocations: 0.9431 MB / 465.3 MB, free: 7.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2527, allocations: 0 / 465.3 MB, free: 7.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002065/0.2548, allocations: 463.9 kB / 465.7 MB, free: 6.918 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.0004679/0.2552, allocations: 196.9 kB / 465.9 MB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003846/0.2591, allocations: 2.037 MB / 468 MB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.2591, allocations: 3.938 kB / 468 MB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.2615, allocations: 1.37 MB / 469.3 MB, free: 3.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.2638, allocations: 380.5 kB / 469.7 MB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2365/0.5003, allocations: 4.522 MB / 474.2 MB, free: 83.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.502, allocations: 1.255 MB / 475.5 MB, free: 82.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001251/0.5032, allocations: 376.9 kB / 475.9 MB, free: 82.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.5035, allocations: 110.9 kB / 476 MB, free: 82.85 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5036, allocations: 2.531 kB / 476 MB, free: 82.85 MB / 430.1 MB Notification: Performance of Templates: time 0.03892/0.5425, allocations: 24.72 MB / 0.489 GB, free: 69.27 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.766549227992073]