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.001984/0.001984, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.00206/0.00206, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.562/1.562, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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 1.854e-06/1.854e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.408e-05, allocations: 5.266 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0144/0.01443, allocations: 9.318 MB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007547/0.02198, allocations: 2.991 MB / 284.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.02335, allocations: 63.56 kB / 284.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.02527, allocations: 0.6325 MB / 285.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.02804, allocations: 0.846 MB / 286.1 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.02891, allocations: 363.4 kB / 286.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.03276, allocations: 2.773 MB / 289.2 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1437/0.1765, allocations: 1.127 MB / 290.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.1795, allocations: 1.795 MB / 292.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.182, allocations: 1.426 MB / 293.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006862/0.1827, allocations: 307.6 kB / 293.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.184, allocations: 415.3 kB / 294.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.185, allocations: 0.9337 MB / 295.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.1864, allocations: 0.9819 MB / 296.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.1916, allocations: 4.186 MB / 300.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1916, allocations: 0 / 300.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1916, allocations: 0.8125 kB / 300.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001373/0.1917, allocations: 0 / 300.3 MB, free: 15.18 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.007571/0.1993, allocations: 3.232 MB / 303.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1994, allocations: 13.67 kB / 303.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.2008, allocations: 499.5 kB / 304.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.2036, allocations: 1.449 MB / 305.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/0.2036, allocations: 155.5 kB / 305.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/0.2039, allocations: 204.9 kB / 305.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005055/0.209, allocations: 2.633 MB / 308.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/0.2091, allocations: 7.766 kB / 308.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.2093, allocations: 84.88 kB / 308.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.2094, allocations: 98.05 kB / 308.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.2126, allocations: 1.79 MB / 310.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.2257, allocations: 9.645 MB / 320.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.2278, allocations: 0.9386 MB / 321.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.2296, allocations: 0.7688 MB / 321.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.2298, allocations: 52.91 kB / 321.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.2299, allocations: 50.33 kB / 321.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.085e-06/0.2299, allocations: 0 / 321.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.01075/0.2406, allocations: 3.901 MB / 325.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.2407, allocations: 64.41 kB / 325.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.2434, allocations: 1.664 MB / 327.6 MB, free: 8.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.2435, allocations: 45.7 kB / 327.6 MB, free: 8.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.2449, allocations: 1.178 MB / 328.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.2456, allocations: 469.2 kB / 329.2 MB, free: 6.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006125/0.2462, allocations: 309.2 kB / 329.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003973/0.2466, allocations: 0.5824 MB / 330.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/0.2476, allocations: 419.2 kB / 330.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.249, allocations: 0.8986 MB / 331.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.2514, allocations: 1.455 MB / 332.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.2514, allocations: 2.938 kB / 332.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003795/0.2552, allocations: 1.636 MB / 334.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.2553, allocations: 8 kB / 334.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.2553, allocations: 11.94 kB / 334.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.2564, allocations: 238 kB / 334.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.2578, allocations: 329.2 kB / 335.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.2631, allocations: 4.537 MB / 339.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.2644, allocations: 87.95 kB / 339.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.2645, allocations: 55.98 kB / 339.8 MB, free: 11.68 MB / 298.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.001299/0.2658, allocations: 0.599 MB / 340.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/0.2663, allocations: 206.8 kB / 340.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/0.2696, allocations: 1.363 MB / 341.9 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.2696, allocations: 12 kB / 342 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2696, allocations: 4 kB / 342 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.2697, allocations: 7.969 kB / 342 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008583/0.2782, allocations: 3.775 MB / 345.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.2782, allocations: 4 kB / 345.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.2793, allocations: 215.5 kB / 346 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.2806, allocations: 318.5 kB / 346.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.733e-05/0.2806, allocations: 31.98 kB / 346.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006964/0.2876, allocations: 6.395 MB / 352.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2876, allocations: 0 / 352.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004541/0.2922, allocations: 2.053 MB / 354.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.2934, allocations: 298.8 kB / 355 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.2937, allocations: 28 kB / 355.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.2947, allocations: 79.91 kB / 355.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.295, allocations: 116 kB / 355.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.121e-05/0.2951, allocations: 31.98 kB / 355.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00174/0.2968, allocations: 0.9782 MB / 356.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2968, allocations: 0 / 356.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001882/0.2987, allocations: 467.9 kB / 356.7 MB, free: 10.25 MB / 314.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%), (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.0006031/0.2993, allocations: 185.4 kB / 356.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.3028, allocations: 1.667 MB / 358.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.3028, allocations: 4 kB / 358.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.3051, allocations: 1.259 MB / 359.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.3074, allocations: 405.3 kB / 360.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/0.3153, allocations: 3.982 MB / 364.2 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.3169, allocations: 1.167 MB / 365.4 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001149/0.318, allocations: 300.5 kB / 365.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.3184, allocations: 108.5 kB / 365.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3184, allocations: 0 / 365.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of Templates: time 0.04959/0.368, allocations: 24.66 MB / 390.4 MB, free: 8.809 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/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.660413907025941]