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.001813/0.001813, allocations: 82.92 kB / 22 MB, free: 5.18 MB / 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.002168/0.002168, allocations: 161.4 kB / 25.25 MB, free: 3.023 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.386/1.386, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 51.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2155, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01139/0.2269, allocations: 8.281 MB / 356.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006154/0.2331, allocations: 2.856 MB / 359.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.2342, allocations: 55.62 kB / 359.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.2359, allocations: 0.6327 MB / 360.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.2382, allocations: 0.8157 MB / 361.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000736/0.2389, allocations: 351.5 kB / 361.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002969/0.2419, allocations: 2.696 MB / 364.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.2434, allocations: 1.057 MB / 365.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.2451, allocations: 1.219 MB / 366.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.2471, allocations: 1.455 MB / 367.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004376/0.2476, allocations: 311.9 kB / 368.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007343/0.2483, allocations: 403.8 kB / 368.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009139/0.2492, allocations: 0.8959 MB / 369.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.2505, allocations: 1.14 MB / 370.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.2546, allocations: 4.128 MB / 374.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2546, allocations: 0 / 374.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2546, allocations: 0 / 374.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.501e-05/0.2547, allocations: 0 / 374.8 MB, free: 5.082 MB / 334.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.005318/0.26, allocations: 2.838 MB / 377.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.26, allocations: 11.98 kB / 377.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.2607, allocations: 299.2 kB / 377.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.2633, allocations: 1.39 MB / 379.3 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.2634, allocations: 160.4 kB / 379.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.2637, allocations: 208.1 kB / 379.7 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/0.2684, allocations: 2.832 MB / 382.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.2684, allocations: 3.938 kB / 382.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.2686, allocations: 84 kB / 382.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.2687, allocations: 91.94 kB / 382.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/0.2729, allocations: 2.322 MB / 385 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.2854, allocations: 7.265 MB / 392.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.2875, allocations: 1.243 MB / 393.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.2897, allocations: 0.9998 MB / 394.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.2899, allocations: 45.83 kB / 394.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.2899, allocations: 51.48 kB / 394.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/0.2899, allocations: 0 / 394.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01432/0.3042, allocations: 5.947 MB / 400.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3043, allocations: 64.41 kB / 400.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.3068, allocations: 1.38 MB / 402 MB, free: 9.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-05/0.3069, allocations: 45.7 kB / 402.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/0.3077, allocations: 1.012 MB / 403.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.3081, allocations: 440.3 kB / 403.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.3087, allocations: 255.5 kB / 403.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3089, allocations: 361.9 kB / 404.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.3102, allocations: 0.7261 MB / 404.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.3118, allocations: 1.067 MB / 405.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/0.3148, allocations: 1.867 MB / 407.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.3148, allocations: 4 kB / 407.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004457/0.3193, allocations: 2.342 MB / 410.1 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3193, allocations: 8 kB / 410.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.3193, allocations: 8 kB / 410.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3204, allocations: 423.4 kB / 410.5 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.3217, allocations: 327.5 kB / 410.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.3275, allocations: 4.772 MB / 415.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.3292, allocations: 91.97 kB / 415.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/0.3295, allocations: 51.98 kB / 415.8 MB, free: 11.05 MB / 382.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.001539/0.331, allocations: 0.7119 MB / 416.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/0.3315, allocations: 155 kB / 416.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.3357, allocations: 2.116 MB / 418.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.3358, allocations: 15.94 kB / 418.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3358, allocations: 8 kB / 418.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.3358, allocations: 7.969 kB / 418.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008538/0.3443, allocations: 4.035 MB / 422.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.3443, allocations: 4 kB / 422.8 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.3454, allocations: 231.9 kB / 423 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.3467, allocations: 466.9 kB / 423.5 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.3468, allocations: 31.98 kB / 423.5 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007242/0.3541, allocations: 6.275 MB / 429.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3541, allocations: 0 / 429.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/0.3599, allocations: 3.169 MB / 433 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.3609, allocations: 314.9 kB / 433.3 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/0.3613, allocations: 27.98 kB / 433.3 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.3623, allocations: 71.92 kB / 433.4 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.3626, allocations: 116.7 kB / 433.5 MB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.3627, allocations: 35.98 kB / 433.5 MB, free: 8.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001851/0.3646, allocations: 0.9388 MB / 434.5 MB, free: 7.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3646, allocations: 0 / 434.5 MB, free: 7.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001992/0.3666, allocations: 463.9 kB / 434.9 MB, free: 7.387 MB / 398.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.000439/0.367, allocations: 186.8 kB / 435.1 MB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.3711, allocations: 2.049 MB / 437.2 MB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3711, allocations: 0 / 437.2 MB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.3736, allocations: 1.365 MB / 438.5 MB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.376, allocations: 380.9 kB / 438.9 MB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/0.3845, allocations: 4.546 MB / 443.4 MB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/0.3865, allocations: 1.245 MB / 444.7 MB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001273/0.3877, allocations: 376.5 kB / 445 MB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.3882, allocations: 108.5 kB / 445.2 MB, free: 12.95 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3882, allocations: 0 / 445.2 MB, free: 12.95 MB / 414.1 MB Notification: Performance of Templates: time 0.04587/0.4341, allocations: 24.62 MB / 469.8 MB, free: 4.285 MB / 430.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 -s ida -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/jenkins1/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/jenkins1/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.602760003996082]