Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.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.0008367/0.0008367, 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.0008661/0.0008661, 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.828/0.828, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 299.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.876e-05, allocations: 2.281 kB / 299.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.009126/0.009155, allocations: 11.25 MB / 311 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006848/0.016, allocations: 4.036 MB / 315 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.01757, allocations: 87.38 kB / 315.1 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.01932, allocations: 0.9663 MB / 316.1 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.02211, allocations: 1.281 MB / 317.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008661/0.02297, allocations: 0.5304 MB / 317.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.02668, allocations: 4.846 MB / 322.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.02862, allocations: 1.951 MB / 324.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.03209, allocations: 3.15 MB / 327.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.03447, allocations: 2.291 MB / 330.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005624/0.03503, allocations: 0.5508 MB / 330.7 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.03573, allocations: 0.652 MB / 331.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008647/0.0366, allocations: 1.578 MB / 332.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.03779, allocations: 1.723 MB / 334.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.04246, allocations: 7.533 MB / 342.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.04247, allocations: 0 / 342.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04247, allocations: 0 / 342.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.789e-05/0.04253, allocations: 0 / 342.2 MB, free: 12.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005145/0.04768, allocations: 4.689 MB / 346.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.04773, allocations: 15.98 kB / 346.9 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007518/0.04848, allocations: 0.5175 MB / 347.4 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.05101, allocations: 2.356 MB / 349.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.05114, allocations: 267.4 kB / 350 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.05147, allocations: 360.2 kB / 350.4 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1361/0.1876, allocations: 5.273 MB / 355.6 MB, free: 56.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/0.1877, allocations: 9.859 kB / 355.6 MB, free: 56.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/0.1879, allocations: 143.8 kB / 355.8 MB, free: 56.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.1881, allocations: 185.4 kB / 356 MB, free: 56.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005482/0.1936, allocations: 4.282 MB / 360.3 MB, free: 54.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.2071, allocations: 12.87 MB / 373.1 MB, free: 47.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.2091, allocations: 2.692 MB / 375.8 MB, free: 45.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.2108, allocations: 1.879 MB / 377.7 MB, free: 44.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.2109, allocations: 61.97 kB / 377.7 MB, free: 44.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.211, allocations: 52.56 kB / 377.8 MB, free: 44.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 3.657e-06/0.211, allocations: 0 / 377.8 MB, free: 44.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.00964/0.2206, allocations: 9.644 MB / 387.4 MB, free: 34.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2206, allocations: 73.41 kB / 387.5 MB, free: 34.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.2223, allocations: 2.183 MB / 389.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.577e-05/0.2224, allocations: 64.98 kB / 389.8 MB, free: 32.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.2228, allocations: 1.667 MB / 391.4 MB, free: 30.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.223, allocations: 0.7581 MB / 392.2 MB, free: 29.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.2234, allocations: 416.5 kB / 392.6 MB, free: 29.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.2234, allocations: 305.1 kB / 392.9 MB, free: 29.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.2245, allocations: 1.301 MB / 394.2 MB, free: 27.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.2256, allocations: 1.782 MB / 396 MB, free: 25.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.2279, allocations: 3.215 MB / 399.2 MB, free: 22.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2279, allocations: 7.938 kB / 399.2 MB, free: 22.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003418/0.2313, allocations: 4.041 MB / 403.2 MB, free: 18.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2314, allocations: 13.03 kB / 403.3 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2314, allocations: 12.47 kB / 403.3 MB, free: 18.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.2327, allocations: 0.8763 MB / 404.1 MB, free: 17.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/0.2336, allocations: 0.5266 MB / 404.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004965/0.2386, allocations: 8.987 MB / 413.7 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.2395, allocations: 123.8 kB / 413.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.2396, allocations: 91.98 kB / 413.9 MB, free: 7.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,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 (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (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.001343/0.2409, allocations: 1.201 MB / 415.1 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.2411, allocations: 262.4 kB / 415.3 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.2442, allocations: 3.685 MB / 419 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.2443, allocations: 24 kB / 419 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2443, allocations: 5.594 kB / 419 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2443, allocations: 11.95 kB / 419 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007631/0.2519, allocations: 7.107 MB / 426.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.2519, allocations: 12.05 kB / 426.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.2527, allocations: 383.5 kB / 426.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.2542, allocations: 0.9334 MB / 427.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-05/0.2543, allocations: 55.97 kB / 427.5 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007099/0.2614, allocations: 10.45 MB / 438 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2614, allocations: 12 kB / 438 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005754/0.2672, allocations: 5.471 MB / 443.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/0.2681, allocations: 0.5373 MB / 444 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.2683, allocations: 51.98 kB / 444.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.2689, allocations: 119.8 kB / 444.2 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.2692, allocations: 181.6 kB / 444.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/0.2693, allocations: 59.98 kB / 444.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001813/0.2711, allocations: 1.489 MB / 445.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2711, allocations: 0 / 445.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001671/0.2728, allocations: 0.8033 MB / 446.7 MB, free: 6.027 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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%), (3,25,88.9%), (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.0004555/0.2732, allocations: 234 kB / 446.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003581/0.2768, allocations: 3.612 MB / 450.5 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2768, allocations: 0 / 450.5 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.2791, allocations: 2.316 MB / 452.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.2806, allocations: 0.618 MB / 453.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008608/0.2893, allocations: 7.611 MB / 461.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.2909, allocations: 2.18 MB / 463.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.2914, allocations: 180.5 kB / 463.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2914, allocations: 0 / 463.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of Templates: time 0.198/0.4895, allocations: 140.9 MB / 0.5902 GB, free: 70.97 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.i_0_s in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat. Warning: Get data of variable aimc.i_0_s from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.59668991342187]