Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.00154/0.00154, allocations: 81.19 kB / 20.68 MB, free: 1.027 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.001826/0.001826, allocations: 151.1 kB / 23.94 MB, free: 4.164 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.466/1.466, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 3.938 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.745e-05/3.932e-05, allocations: 3.531 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01498/0.01502, allocations: 8.336 MB / 327.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.02571, allocations: 2.806 MB / 330.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.02869, allocations: 59.06 kB / 330.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00362/0.03231, allocations: 0.624 MB / 330.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005285/0.0376, allocations: 0.8444 MB / 331.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.03964, allocations: 359.3 kB / 332 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007137/0.04678, allocations: 2.752 MB / 334.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.04996, allocations: 1.12 MB / 335.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.05498, allocations: 1.768 MB / 337.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.05849, allocations: 1.319 MB / 338.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.05925, allocations: 306.9 kB / 339.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.0607, allocations: 400.9 kB / 339.6 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.06208, allocations: 0.9228 MB / 340.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.06402, allocations: 0.9627 MB / 341.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005592/0.06961, allocations: 4.144 MB / 345.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.06962, allocations: 0 / 345.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.06962, allocations: 0 / 345.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.06972, allocations: 3.938 kB / 345.6 MB, free: 0.8477 MB / 302.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.006906/0.07662, allocations: 2.818 MB / 348.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.07667, allocations: 16.92 kB / 348.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/0.07747, allocations: 299.2 kB / 348.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.08042, allocations: 1.467 MB / 350.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.08056, allocations: 148.4 kB / 350.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.08093, allocations: 212.3 kB / 350.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005223/0.08615, allocations: 2.837 MB / 353.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-05/0.08623, allocations: 7.891 kB / 353.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.08649, allocations: 84 kB / 353.5 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.08662, allocations: 95.92 kB / 353.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004369/0.09099, allocations: 2.326 MB / 355.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.1056, allocations: 7.246 MB / 363.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.1079, allocations: 1.248 MB / 364.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.1099, allocations: 1.015 MB / 365.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.1102, allocations: 48.91 kB / 365.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.1102, allocations: 39.56 kB / 365.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.026e-06/0.1102, allocations: 4 kB / 365.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01545/0.1257, allocations: 5.908 MB / 371.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.1257, allocations: 64.41 kB / 371.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.1288, allocations: 1.388 MB / 372.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.1289, allocations: 45.7 kB / 372.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.1301, allocations: 1.012 MB / 374 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/0.1306, allocations: 428.3 kB / 374.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/0.1312, allocations: 259.4 kB / 374.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.1315, allocations: 361.9 kB / 375 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.1333, allocations: 0.7339 MB / 375.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.1355, allocations: 1.055 MB / 376.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004382/0.1399, allocations: 1.871 MB / 378.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.1399, allocations: 4 kB / 378.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006469/0.1464, allocations: 2.334 MB / 381 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.1464, allocations: 15.92 kB / 381 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.1465, allocations: 8 kB / 381 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.1481, allocations: 415.4 kB / 381.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.15, allocations: 319.5 kB / 381.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008248/0.1583, allocations: 4.778 MB / 386.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.16, allocations: 87.97 kB / 386.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.1603, allocations: 59.98 kB / 386.6 MB, free: 6.793 MB / 350.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.001961/0.1623, allocations: 0.7081 MB / 387.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/0.1629, allocations: 159 kB / 387.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006262/0.1692, allocations: 2.116 MB / 389.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.855e-05/0.1692, allocations: 12 kB / 389.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/0.1692, allocations: 8 kB / 389.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.1693, allocations: 7.922 kB / 389.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.1814, allocations: 4.046 MB / 393.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.1814, allocations: 0 / 393.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.1829, allocations: 223.9 kB / 393.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.1848, allocations: 470.9 kB / 394.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.1849, allocations: 31.97 kB / 394.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.1952, allocations: 6.269 MB / 400.7 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1952, allocations: 0 / 400.7 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007603/0.2028, allocations: 3.157 MB / 403.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009916/0.2038, allocations: 322.8 kB / 404.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/0.2042, allocations: 28 kB / 404.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.2054, allocations: 79.91 kB / 404.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/0.2057, allocations: 116.7 kB / 404.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.2058, allocations: 35.98 kB / 404.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001897/0.2077, allocations: 0.935 MB / 405.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2077, allocations: 0 / 405.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00185/0.2096, allocations: 459.9 kB / 405.8 MB, free: 3.145 MB / 366.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.0004647/0.21, allocations: 187 kB / 406 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.2141, allocations: 2.038 MB / 408 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2141, allocations: 0 / 408 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.2167, allocations: 1.362 MB / 409.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.2189, allocations: 383.6 kB / 409.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.2278, allocations: 4.355 MB / 414.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/0.2299, allocations: 1.253 MB / 415.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001301/0.2312, allocations: 372.5 kB / 415.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.2316, allocations: 104.5 kB / 415.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2316, allocations: 0 / 415.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of Templates: time 0.04938/0.281, allocations: 24.44 MB / 440.3 MB, free: 0.7969 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.460919037461281]