Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001083/0.001083, allocations: 91.61 kB / 22.19 MB, free: 2.383 MB / 18.57 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.001287/0.001287, allocations: 161.7 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9258/0.9258, allocations: 158.6 MB / 187.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.349e-05, allocations: 10.22 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.00684/0.006864, allocations: 8.537 MB / 308.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.01077, allocations: 2.91 MB / 311.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/0.0114, allocations: 47.69 kB / 311.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.01253, allocations: 0.6208 MB / 311.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.01375, allocations: 0.8186 MB / 312.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.01422, allocations: 387.3 kB / 313 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.01585, allocations: 2.556 MB / 315.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009177/0.01676, allocations: 0.9816 MB / 316.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.01799, allocations: 1.606 MB / 318.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.01902, allocations: 1.114 MB / 319.3 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.01925, allocations: 280 kB / 319.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.01965, allocations: 371.8 kB / 319.9 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.02011, allocations: 0.8063 MB / 320.7 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006024/0.02071, allocations: 0.8731 MB / 321.6 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.02296, allocations: 3.696 MB / 325.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.02296, allocations: 0 / 325.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02296, allocations: 0 / 325.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.02299, allocations: 3.938 kB / 325.3 MB, free: 13.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.002689/0.02568, allocations: 2.537 MB / 327.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.02571, allocations: 11.98 kB / 327.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.02611, allocations: 279.3 kB / 328.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.02739, allocations: 1.192 MB / 329.3 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.034e-05/0.02747, allocations: 156.1 kB / 329.5 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.02766, allocations: 196.2 kB / 329.7 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.03003, allocations: 2.527 MB / 332.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.03007, allocations: 7.938 kB / 332.2 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.03018, allocations: 76 kB / 332.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/0.03024, allocations: 87.69 kB / 332.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.03224, allocations: 1.955 MB / 334.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006082/0.03832, allocations: 6.759 MB / 341.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.03932, allocations: 1.018 MB / 342.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.04033, allocations: 0.9133 MB / 343 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.04047, allocations: 40.97 kB / 343 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.04049, allocations: 43.56 kB / 343.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 1.924e-06/0.04049, allocations: 0 / 343.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.006589/0.04708, allocations: 5.497 MB / 348.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.04712, allocations: 64.41 kB / 348.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.04807, allocations: 1.166 MB / 349.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.04812, allocations: 49.7 kB / 349.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.04853, allocations: 0.945 MB / 350.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.04872, allocations: 408.5 kB / 351.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.04895, allocations: 243.5 kB / 351.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.04905, allocations: 361.8 kB / 351.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/0.0497, allocations: 0.6403 MB / 352.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.05048, allocations: 1.001 MB / 353.4 MB, free: 388 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1342/0.1847, allocations: 1.731 MB / 355.2 MB, free: 58.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.1847, allocations: 3.625 kB / 355.2 MB, free: 58.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002579/0.1873, allocations: 2.223 MB / 357.4 MB, free: 57.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1873, allocations: 11.47 kB / 357.4 MB, free: 57.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.1873, allocations: 20.17 kB / 357.4 MB, free: 57.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.188, allocations: 492.5 kB / 357.9 MB, free: 57.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.1887, allocations: 306.7 kB / 358.2 MB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/0.1928, allocations: 6.689 MB / 364.9 MB, free: 52.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.1935, allocations: 88.38 kB / 365 MB, free: 52.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.1936, allocations: 55.22 kB / 365 MB, free: 52.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000832/0.1944, allocations: 0.6012 MB / 365.6 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.1946, allocations: 142.2 kB / 365.8 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.1968, allocations: 1.942 MB / 367.7 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.1968, allocations: 12.41 kB / 367.7 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1968, allocations: 5.5 kB / 367.7 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.1968, allocations: 9.469 kB / 367.7 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.2003, allocations: 3.627 MB / 371.4 MB, free: 50.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2003, allocations: 4.031 kB / 371.4 MB, free: 50.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.2007, allocations: 182.2 kB / 371.6 MB, free: 50.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007361/0.2014, allocations: 0.5442 MB / 372.1 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.2015, allocations: 30.08 kB / 372.1 MB, free: 49.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/0.2052, allocations: 8.189 MB / 380.3 MB, free: 42.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2052, allocations: 7.875 kB / 380.3 MB, free: 42.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.2074, allocations: 2.827 MB / 383.2 MB, free: 39.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.2077, allocations: 275.4 kB / 383.4 MB, free: 39.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.2078, allocations: 31.81 kB / 383.5 MB, free: 39.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.2081, allocations: 67.92 kB / 383.5 MB, free: 39.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.2083, allocations: 92.77 kB / 383.6 MB, free: 39.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.2083, allocations: 31.98 kB / 383.6 MB, free: 38.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006076/0.2089, allocations: 0.775 MB / 384.4 MB, free: 38.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2089, allocations: 0 / 384.4 MB, free: 38.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009729/0.2099, allocations: 442 kB / 384.8 MB, free: 37.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.000252/0.2102, allocations: 187.1 kB / 385 MB, free: 37.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.2118, allocations: 1.999 MB / 387 MB, free: 35.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2118, allocations: 0 / 387 MB, free: 35.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.2128, allocations: 1.385 MB / 388.4 MB, free: 34.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008725/0.2137, allocations: 360.9 kB / 388.8 MB, free: 33.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.2171, allocations: 3.977 MB / 392.7 MB, free: 29.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.2177, allocations: 1.056 MB / 393.8 MB, free: 28.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.2179, allocations: 104.5 kB / 393.9 MB, free: 28.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/0.2179, allocations: 0 / 393.9 MB, free: 28.57 MB / 330.7 MB Notification: Performance of Templates: time 0.03948/0.2573, allocations: 70.72 MB / 464.6 MB, free: 5.715 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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: 8.683624348603189]