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.0009595/0.0009595, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.00209, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008225/0.0008225, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002166, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09157/1.1, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.442e-06/1.442e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.351e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007861/0.007874, allocations: 9.26 MB / 253.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005617/0.01349, allocations: 3.107 MB / 256.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.01498, allocations: 63.56 kB / 257 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.01635, allocations: 0.6482 MB / 257.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.01849, allocations: 0.842 MB / 258.5 MB, free: 332 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.01929, allocations: 367.5 kB / 258.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.02256, allocations: 2.785 MB / 261.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.02379, allocations: 1.16 MB / 262.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.02675, allocations: 2.109 MB / 264.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.0283, allocations: 1.368 MB / 266.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009694/0.02927, allocations: 300 kB / 266.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.03001, allocations: 403.7 kB / 266.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005665/0.03058, allocations: 0.7442 MB / 267.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.03144, allocations: 0.7915 MB / 268.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.03357, allocations: 2.126 MB / 270.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.03358, allocations: 4 kB / 270.6 MB, free: 4.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.03358, allocations: 0 / 270.6 MB, free: 4.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.506e-05/0.03363, allocations: 0 / 270.6 MB, free: 4.066 MB / 266.7 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.003541/0.03717, allocations: 3.144 MB / 273.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.03721, allocations: 15.92 kB / 273.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.03794, allocations: 485.6 kB / 274.2 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1265/0.1645, allocations: 1.028 MB / 275.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1646, allocations: 152.2 kB / 275.4 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.1649, allocations: 203.6 kB / 275.6 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.1672, allocations: 1.576 MB / 277.2 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/0.1673, allocations: 10.19 kB / 277.2 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.1674, allocations: 86.16 kB / 277.3 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-05/0.1675, allocations: 94.58 kB / 277.4 MB, free: 20.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.1686, allocations: 0.6023 MB / 278 MB, free: 19.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.175, allocations: 5.42 MB / 283.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.1758, allocations: 0.6651 MB / 284 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.1764, allocations: 484.7 kB / 284.5 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.1766, allocations: 50.31 kB / 284.6 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1766, allocations: 46.28 kB / 284.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.817e-06/0.1766, allocations: 0.8438 kB / 284.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005022/0.1816, allocations: 2.489 MB / 287.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.1817, allocations: 64.44 kB / 287.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.1824, allocations: 0.9828 MB / 288.1 MB, free: 16.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.1824, allocations: 45.2 kB / 288.2 MB, free: 16.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.1827, allocations: 0.8413 MB / 289 MB, free: 16.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.1829, allocations: 438 kB / 289.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.1831, allocations: 235.2 kB / 289.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.1831, allocations: 367.8 kB / 290.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1834, allocations: 162.1 kB / 290.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.1836, allocations: 480.9 kB / 290.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.1843, allocations: 0.8011 MB / 291.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.1844, allocations: 0 / 291.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001206/0.1856, allocations: 0.9123 MB / 292.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1856, allocations: 8.969 kB / 292.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.1856, allocations: 9.25 kB / 292.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.1861, allocations: 216.7 kB / 292.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.1868, allocations: 344.1 kB / 293 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.1886, allocations: 3.168 MB / 296.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006043/0.1893, allocations: 55.88 kB / 296.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.1893, allocations: 43.98 kB / 296.2 MB, free: 11.28 MB / 266.7 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.000455/0.1898, allocations: 196.2 kB / 296.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.1899, allocations: 127.9 kB / 296.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009685/0.1909, allocations: 0.8234 MB / 297.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1909, allocations: 12 kB / 297.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1909, allocations: 7.984 kB / 297.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1909, allocations: 7.984 kB / 297.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.1934, allocations: 2.067 MB / 299.5 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1934, allocations: 0 / 299.5 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.194, allocations: 288 kB / 299.7 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.1943, allocations: 210.8 kB / 299.9 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/0.1948, allocations: 253 kB / 300.2 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.1948, allocations: 31.98 kB / 300.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.1967, allocations: 4.375 MB / 304.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1967, allocations: 8.031 kB / 304.6 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.1978, allocations: 1.216 MB / 305.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.1979, allocations: 24 kB / 305.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.1982, allocations: 43.97 kB / 305.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.1984, allocations: 96.77 kB / 306 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.1984, allocations: 28.97 kB / 306 MB, free: 1.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003537/0.1988, allocations: 499.7 kB / 306.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1988, allocations: 0 / 306.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009701/0.1997, allocations: 459.9 kB / 306.9 MB, free: 352 kB / 266.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002223/0.2, allocations: 163.1 kB / 307.1 MB, free: 184 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.2011, allocations: 0.9782 MB / 308.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.936e-05/0.2011, allocations: 32.45 kB / 308.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.2018, allocations: 0.7852 MB / 308.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.2028, allocations: 0.509 MB / 309.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.2169, allocations: 3.713 MB / 313.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.2173, allocations: 0.5009 MB / 313.6 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006946/0.218, allocations: 192.7 kB / 313.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000807/0.2188, allocations: 397.1 kB / 314.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2188, allocations: 0 / 314.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of Templates: time 0.03663/0.2555, allocations: 26.53 MB / 340.7 MB, free: 14.91 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2404315751045942]