Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.0009723/0.0009723, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001051/0.001051, allocations: 167.7 kB / 25.7 MB, free: 8.438 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.9573/0.9573, allocations: 158.6 MB / 187.6 MB, free: 2.781 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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.636e-05, allocations: 2.312 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01014/0.01015, allocations: 12.4 MB / 264 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005683/0.01583, allocations: 4.346 MB / 268.3 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000708/0.01654, allocations: 87.38 kB / 268.4 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.01801, allocations: 0.9935 MB / 269.4 MB, free: 5.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.01959, allocations: 1.281 MB / 270.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.02017, allocations: 0.5304 MB / 271.2 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.02297, allocations: 4.846 MB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.02466, allocations: 2.014 MB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.02755, allocations: 3.333 MB / 281.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.02975, allocations: 2.44 MB / 283.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004488/0.0302, allocations: 0.543 MB / 284.4 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.03087, allocations: 0.6365 MB / 285 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008382/0.03171, allocations: 1.562 MB / 286.6 MB, free: 4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.03285, allocations: 1.723 MB / 288.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.03565, allocations: 4.019 MB / 292.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.03565, allocations: 0 / 292.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03565, allocations: 0 / 292.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.03568, allocations: 0 / 292.3 MB, free: 14.24 MB / 282.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.004214/0.0399, allocations: 4.375 MB / 296.7 MB, free: 9.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.03993, allocations: 11.98 kB / 296.7 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/0.04084, allocations: 0.6565 MB / 297.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.04268, allocations: 1.491 MB / 298.9 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.04282, allocations: 263.4 kB / 299.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.04315, allocations: 360.3 kB / 299.5 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.04591, allocations: 2.853 MB / 302.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.04597, allocations: 11.92 kB / 302.3 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.04617, allocations: 144 kB / 302.5 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.04629, allocations: 179.1 kB / 302.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.04779, allocations: 1.07 MB / 303.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009376/0.05716, allocations: 9.121 MB / 312.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.05842, allocations: 1.369 MB / 314.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008811/0.0593, allocations: 0.7765 MB / 315 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.05944, allocations: 65.97 kB / 315.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.05947, allocations: 56.56 kB / 315.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.126e-06/0.05947, allocations: 0 / 315.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.006019/0.06549, allocations: 4.008 MB / 319.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.06553, allocations: 77.34 kB / 319.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.06677, allocations: 1.499 MB / 320.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/0.06686, allocations: 65.7 kB / 320.8 MB, free: 1.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/0.06742, allocations: 1.351 MB / 322.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.06778, allocations: 0.7551 MB / 322.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.06818, allocations: 400.2 kB / 323.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.06825, allocations: 301.1 kB / 323.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.06865, allocations: 291.8 kB / 323.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.06923, allocations: 0.724 MB / 324.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.07037, allocations: 1.28 MB / 325.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.07038, allocations: 0 / 325.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002106/0.07248, allocations: 1.539 MB / 327.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.07251, allocations: 12 kB / 327.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.07253, allocations: 12 kB / 327.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.07379, allocations: 0.5744 MB / 328 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.07508, allocations: 0.5928 MB / 328.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.0795, allocations: 5.701 MB / 334.3 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.08012, allocations: 67.98 kB / 334.3 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.08023, allocations: 71.98 kB / 334.4 MB, free: 2.805 MB / 314.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.0005523/0.08078, allocations: 252 kB / 334.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.08107, allocations: 239.7 kB / 334.9 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.0828, allocations: 1.397 MB / 336.3 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.08281, allocations: 24 kB / 336.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.08282, allocations: 4 kB / 336.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.08283, allocations: 11.95 kB / 336.3 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/0.08698, allocations: 3.442 MB / 339.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.08699, allocations: 0 / 339.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.08812, allocations: 0.5253 MB / 340.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.08961, allocations: 0.6053 MB / 340.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/0.0897, allocations: 55.97 kB / 341 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006353/0.09606, allocations: 6.886 MB / 347.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.09606, allocations: 7.984 kB / 347.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.09978, allocations: 1.947 MB / 349.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009779/0.1008, allocations: 330.3 kB / 350.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.1011, allocations: 55.88 kB / 350.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009643/0.102, allocations: 87.95 kB / 350.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/0.1024, allocations: 165.6 kB / 350.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.1026, allocations: 47.98 kB / 350.5 MB, free: 2.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.1037, allocations: 0.7657 MB / 351.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1037, allocations: 0 / 351.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003014/0.1067, allocations: 0.7851 MB / 352 MB, free: 0.5508 MB / 330.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,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006161/0.1073, allocations: 219.8 kB / 352.2 MB, free: 344 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1152/0.2225, allocations: 1.71 MB / 353.9 MB, free: 95.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.785e-05/0.2226, allocations: 26.91 kB / 354 MB, free: 95.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.2241, allocations: 1.336 MB / 355.3 MB, free: 94.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.2262, allocations: 0.6449 MB / 356 MB, free: 94.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.2324, allocations: 6.145 MB / 362.1 MB, free: 92.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.233, allocations: 0.8581 MB / 363 MB, free: 91.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006562/0.2337, allocations: 316.3 kB / 363.3 MB, free: 91.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.2347, allocations: 0.6123 MB / 363.9 MB, free: 91.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.2347, allocations: 2.812 kB / 363.9 MB, free: 91.87 MB / 330.7 MB Notification: Performance of Templates: time 0.04231/0.277, allocations: 42.35 MB / 406.2 MB, free: 52.67 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.83945554215461]