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.001446/0.001446, allocations: 85.16 kB / 21.44 MB, free: 296 kB / 14.72 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.00161/0.00161, allocations: 164.9 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.296/1.296, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 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.112e-06/1.112e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.346e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.011/0.01102, allocations: 8.283 MB / 307.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006844/0.01786, allocations: 2.86 MB / 310.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.01893, allocations: 51.62 kB / 310.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.02066, allocations: 0.6365 MB / 310.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.02328, allocations: 0.842 MB / 311.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.02411, allocations: 359.4 kB / 312 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003435/0.02754, allocations: 2.785 MB / 314.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.02907, allocations: 1.065 MB / 315.8 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.03159, allocations: 1.766 MB / 317.6 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.03369, allocations: 1.325 MB / 318.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.03414, allocations: 308 kB / 319.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007915/0.03493, allocations: 391.9 kB / 319.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.03596, allocations: 0.927 MB / 320.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.03732, allocations: 0.9627 MB / 321.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1753/0.2126, allocations: 4.142 MB / 325.6 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.2126, allocations: 0.5625 kB / 325.6 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2126, allocations: 1.25 kB / 325.6 MB, free: 20.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001494/0.2127, allocations: 0 / 325.6 MB, free: 20.73 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.006746/0.2195, allocations: 2.805 MB / 328.4 MB, free: 19.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2195, allocations: 15.86 kB / 328.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.2205, allocations: 304.7 kB / 328.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.2231, allocations: 1.392 MB / 330.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2232, allocations: 150.1 kB / 330.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.2236, allocations: 204.1 kB / 330.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004897/0.2285, allocations: 2.831 MB / 333.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.2285, allocations: 13.42 kB / 333.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.2287, allocations: 88.45 kB / 333.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.2288, allocations: 94 kB / 333.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/0.233, allocations: 2.325 MB / 335.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.2447, allocations: 7.246 MB / 343.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.2463, allocations: 1.246 MB / 344.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.2479, allocations: 1.015 MB / 345.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.2481, allocations: 39.91 kB / 345.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2481, allocations: 50.81 kB / 345.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.986e-06/0.2481, allocations: 0 / 345.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01132/0.2594, allocations: 5.952 MB / 351.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.2594, allocations: 64.41 kB / 351.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.2611, allocations: 1.388 MB / 352.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.641e-05/0.2612, allocations: 45.7 kB / 352.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.2616, allocations: 1.01 MB / 353.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.2618, allocations: 425.4 kB / 354.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/0.2621, allocations: 259.5 kB / 354.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.2622, allocations: 365.9 kB / 354.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008774/0.2631, allocations: 0.7339 MB / 355.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.2641, allocations: 1.052 MB / 356.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.2661, allocations: 1.878 MB / 358.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2661, allocations: 4 kB / 358.6 MB, free: 1.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003623/0.2697, allocations: 2.337 MB / 360.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2697, allocations: 8 kB / 360.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.2697, allocations: 12 kB / 360.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.2708, allocations: 412.4 kB / 361.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.2721, allocations: 325 kB / 361.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005912/0.278, allocations: 4.775 MB / 366.4 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.2793, allocations: 91.89 kB / 366.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.2795, allocations: 52 kB / 366.6 MB, free: 9.66 MB / 318.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.001435/0.2809, allocations: 0.7073 MB / 367.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.2813, allocations: 160.9 kB / 367.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.2856, allocations: 2.126 MB / 369.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.2856, allocations: 12 kB / 369.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.2856, allocations: 0 / 369.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.2856, allocations: 7.984 kB / 369.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008843/0.2945, allocations: 4.037 MB / 373.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.2945, allocations: 12.22 kB / 373.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.2955, allocations: 225.9 kB / 373.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.2969, allocations: 466.5 kB / 374.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.297, allocations: 35.97 kB / 374.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007489/0.3045, allocations: 6.259 MB / 380.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3045, allocations: 4 kB / 380.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005957/0.3105, allocations: 3.161 MB / 383.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.3115, allocations: 318.9 kB / 384.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.312, allocations: 24 kB / 384.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.3131, allocations: 83.91 kB / 384.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.3134, allocations: 111.9 kB / 384.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.3135, allocations: 35.98 kB / 384.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001879/0.3154, allocations: 0.935 MB / 385.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3154, allocations: 0 / 385.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002017/0.3174, allocations: 463.9 kB / 385.7 MB, free: 6.152 MB / 334.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.0004747/0.3179, allocations: 184.9 kB / 385.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004203/0.3221, allocations: 2.05 MB / 388 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.3221, allocations: 4 kB / 388 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.3247, allocations: 1.353 MB / 389.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.327, allocations: 388.4 kB / 389.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008563/0.3356, allocations: 4.359 MB / 394.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/0.3373, allocations: 1.249 MB / 395.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.3386, allocations: 380.5 kB / 395.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.339, allocations: 106.4 kB / 395.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.339, allocations: 4 kB / 395.8 MB, free: 12 MB / 350.1 MB Notification: Performance of Templates: time 0.04561/0.3846, allocations: 24.45 MB / 420.2 MB, free: 3.578 MB / 366.1 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: 5.185336466878653]