Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.0007936/0.0007936, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008188/0.0008188, allocations: 156.5 kB / 25.44 MB, free: 8.855 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.8054/0.8054, allocations: 158.6 MB / 187.2 MB, free: 3.051 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_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.922e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.006934/0.006953, allocations: 8.288 MB / 308 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.01041, allocations: 2.871 MB / 310.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.01087, allocations: 47.69 kB / 310.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.01177, allocations: 0.6209 MB / 311.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.01294, allocations: 0.8459 MB / 312.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.01336, allocations: 359.4 kB / 312.7 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.01493, allocations: 2.785 MB / 315.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008773/0.0158, allocations: 1.061 MB / 316.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.01698, allocations: 1.766 MB / 318.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.0181, allocations: 1.321 MB / 319.7 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.01837, allocations: 312 kB / 320 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.01878, allocations: 391.9 kB / 320.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.01929, allocations: 0.927 MB / 321.3 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.01994, allocations: 0.9666 MB / 322.3 MB, free: 224 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.0223, allocations: 4.141 MB / 326.4 MB, free: 12.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.0223, allocations: 0 / 326.4 MB, free: 12.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0223, allocations: 0 / 326.4 MB, free: 12.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.788e-05/0.02233, allocations: 0 / 326.4 MB, free: 12.06 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.002871/0.0252, allocations: 2.818 MB / 329.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.02523, allocations: 15.98 kB / 329.2 MB, free: 9.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.02564, allocations: 299.2 kB / 329.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.02709, allocations: 1.385 MB / 330.9 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.02717, allocations: 156.4 kB / 331.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.02737, allocations: 204.3 kB / 331.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.03007, allocations: 2.837 MB / 334.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.03011, allocations: 7.938 kB / 334.1 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.03023, allocations: 80 kB / 334.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-05/0.0303, allocations: 95.92 kB / 334.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.03264, allocations: 2.319 MB / 336.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006601/0.03924, allocations: 7.261 MB / 343.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.04043, allocations: 1.247 MB / 345.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.04151, allocations: 1.018 MB / 346.1 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.04165, allocations: 45.77 kB / 346.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.04167, allocations: 47.56 kB / 346.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.234e-06/0.04168, allocations: 0 / 346.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.007029/0.04871, allocations: 5.944 MB / 352.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.04874, allocations: 64.41 kB / 352.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.0499, allocations: 1.384 MB / 353.6 MB, free: 344 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.04995, allocations: 49.7 kB / 353.6 MB, free: 288 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1387/0.1887, allocations: 1.012 MB / 354.7 MB, free: 59.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/0.1891, allocations: 428.9 kB / 355.1 MB, free: 59.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/0.1895, allocations: 248.8 kB / 355.3 MB, free: 59.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.1895, allocations: 361.7 kB / 355.7 MB, free: 58.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009342/0.1905, allocations: 0.7313 MB / 356.4 MB, free: 58.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.1916, allocations: 1.055 MB / 357.5 MB, free: 58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.1932, allocations: 1.876 MB / 359.3 MB, free: 57.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.1932, allocations: 3.219 kB / 359.3 MB, free: 57.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002694/0.1959, allocations: 2.34 MB / 361.7 MB, free: 56.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.196, allocations: 8.812 kB / 361.7 MB, free: 56.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.196, allocations: 10.83 kB / 361.7 MB, free: 56.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.1966, allocations: 408.6 kB / 362.1 MB, free: 56.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.1973, allocations: 328.6 kB / 362.4 MB, free: 55.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.2004, allocations: 4.767 MB / 367.2 MB, free: 52.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/0.2011, allocations: 93.38 kB / 367.3 MB, free: 52.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/0.2012, allocations: 50.47 kB / 367.3 MB, free: 52.49 MB / 330.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.001025/0.2022, allocations: 0.7143 MB / 368 MB, free: 52.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.2024, allocations: 162.6 kB / 368.2 MB, free: 52.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.2045, allocations: 2.117 MB / 370.3 MB, free: 51.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2045, allocations: 11.28 kB / 370.3 MB, free: 51.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2045, allocations: 8.281 kB / 370.3 MB, free: 51.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2045, allocations: 3.891 kB / 370.3 MB, free: 51.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.2083, allocations: 4.04 MB / 374.4 MB, free: 49.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2083, allocations: 4 kB / 374.4 MB, free: 49.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.2087, allocations: 220 kB / 374.6 MB, free: 48.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/0.2093, allocations: 470.9 kB / 375.1 MB, free: 48.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.2093, allocations: 31.98 kB / 375.1 MB, free: 48.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.2125, allocations: 6.278 MB / 381.4 MB, free: 41.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2125, allocations: 0 / 381.4 MB, free: 41.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.2153, allocations: 3.16 MB / 384.5 MB, free: 38.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.2158, allocations: 314.9 kB / 384.8 MB, free: 38.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.2159, allocations: 31.98 kB / 384.9 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.2163, allocations: 71.92 kB / 384.9 MB, free: 38.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.2165, allocations: 116.7 kB / 385 MB, free: 38.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.2166, allocations: 39.86 kB / 385.1 MB, free: 38.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007607/0.2173, allocations: 0.9426 MB / 386 MB, free: 37.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2173, allocations: 0 / 386 MB, free: 37.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009661/0.2183, allocations: 458 kB / 386.5 MB, free: 36.68 MB / 330.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.0002849/0.2186, allocations: 185.9 kB / 386.7 MB, free: 36.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.2205, allocations: 2.043 MB / 388.7 MB, free: 34.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2205, allocations: 4.125 kB / 388.7 MB, free: 34.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.2217, allocations: 1.367 MB / 390.1 MB, free: 33.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.2231, allocations: 375.5 kB / 390.4 MB, free: 32.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.2277, allocations: 4.406 MB / 394.8 MB, free: 28.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.2285, allocations: 1.225 MB / 396.1 MB, free: 26.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.2288, allocations: 112.5 kB / 396.2 MB, free: 26.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2288, allocations: 0 / 396.2 MB, free: 26.84 MB / 330.7 MB Notification: Performance of Templates: time 0.04997/0.2788, allocations: 70.05 MB / 466.2 MB, free: 4.66 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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: 8.657585845328867]