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.001036/0.001036, allocations: 83.64 kB / 21.43 MB, free: 3.133 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.00598/0.00598, allocations: 163.9 kB / 24.69 MB, free: 9.434 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.9577/0.9577, allocations: 158.6 MB / 186.5 MB, free: 3.027 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.484e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.1501/0.1501, allocations: 11.22 MB / 309.7 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008162/0.1583, allocations: 4.038 MB / 313.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.1611, allocations: 87.75 kB / 313.8 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.1648, allocations: 0.9657 MB / 314.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.1701, allocations: 1.281 MB / 316.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.1718, allocations: 0.5283 MB / 316.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006082/0.1779, allocations: 4.846 MB / 321.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.1805, allocations: 1.96 MB / 323.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007301/0.1878, allocations: 3.146 MB / 326.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005403/0.1932, allocations: 2.293 MB / 328.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.195, allocations: 0.552 MB / 329.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.1979, allocations: 0.6341 MB / 330 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.2005, allocations: 1.587 MB / 331.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004588/0.2051, allocations: 1.721 MB / 333.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.2151, allocations: 7.541 MB / 340.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.2152, allocations: 0 / 340.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.2152, allocations: 1.125 kB / 340.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003697/0.2155, allocations: 0 / 340.9 MB, free: 4.309 MB / 298.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.01109/0.2266, allocations: 4.681 MB / 345.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.2267, allocations: 11.98 kB / 345.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009513/0.2276, allocations: 0.4981 MB / 346.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.2288, allocations: 0.5175 MB / 346.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.2328, allocations: 2.352 MB / 348.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.233, allocations: 271.4 kB / 349.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005925/0.2336, allocations: 356.3 kB / 349.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00817/0.2418, allocations: 5.279 MB / 354.8 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.289e-05/0.2419, allocations: 3.953 kB / 354.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004233/0.2423, allocations: 145.6 kB / 355 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.2424, allocations: 190 kB / 355.1 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/0.2496, allocations: 4.287 MB / 359.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.272, allocations: 13.41 MB / 372.8 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.2754, allocations: 2.69 MB / 375.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/0.2777, allocations: 1.874 MB / 377.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.278, allocations: 57.97 kB / 377.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.278, allocations: 56.56 kB / 377.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 5.37e-06/0.278, allocations: 0 / 377.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.01619/0.2942, allocations: 9.68 MB / 387.2 MB, free: 5.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.2943, allocations: 77.41 kB / 387.3 MB, free: 5.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.2979, allocations: 2.529 MB / 389.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003571/0.2983, allocations: 65.7 kB / 389.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009401/0.2992, allocations: 1.65 MB / 391.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006814/0.2999, allocations: 0.7553 MB / 392.3 MB, free: 300 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/0.3004, allocations: 416.4 kB / 392.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.3005, allocations: 309.1 kB / 393 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.3022, allocations: 1.301 MB / 394.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.304, allocations: 1.782 MB / 396.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/0.3076, allocations: 3.215 MB / 399.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.3076, allocations: 4 kB / 399.3 MB, free: 8.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005464/0.3131, allocations: 4.077 MB / 403.4 MB, free: 4.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.3131, allocations: 12.03 kB / 403.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/0.3131, allocations: 16 kB / 403.4 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.315, allocations: 0.8717 MB / 404.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.3165, allocations: 0.5265 MB / 404.8 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008167/0.3246, allocations: 9.077 MB / 413.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.3264, allocations: 119.9 kB / 414 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.3267, allocations: 88 kB / 414.1 MB, free: 9.73 MB / 378.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.002022/0.3287, allocations: 1.211 MB / 415.3 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006254/0.3293, allocations: 290.2 kB / 415.6 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/0.334, allocations: 3.695 MB / 419.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.334, allocations: 24 kB / 419.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.334, allocations: 11.94 kB / 419.3 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.334, allocations: 11.95 kB / 419.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.3459, allocations: 7.544 MB / 426.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.3459, allocations: 4 kB / 426.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009768/0.3469, allocations: 387.8 kB / 427.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/0.349, allocations: 0.9333 MB / 428.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.3492, allocations: 51.97 kB / 428.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008579/0.3578, allocations: 10.55 MB / 438.8 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3578, allocations: 7.938 kB / 438.8 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007709/0.3655, allocations: 5.502 MB / 444.3 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/0.3673, allocations: 0.5761 MB / 444.8 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005405/0.3678, allocations: 51.98 kB / 444.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.3689, allocations: 119.8 kB / 445 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/0.3693, allocations: 189.6 kB / 445.2 MB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.3694, allocations: 56.08 kB / 445.3 MB, free: 9.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002862/0.3723, allocations: 1.734 MB / 447 MB, free: 8.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3723, allocations: 4 kB / 447 MB, free: 8.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002647/0.3749, allocations: 0.7968 MB / 447.8 MB, free: 7.289 MB / 410.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.006967/0.3819, allocations: 6.192 MB / 454 MB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004913/0.3868, allocations: 3.612 MB / 457.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/0.3868, allocations: 0 / 457.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.3895, allocations: 2.307 MB / 459.9 MB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/0.3931, allocations: 0.7976 MB / 460.7 MB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1935/0.5866, allocations: 29.61 MB / 490.3 MB, free: 133.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/0.5887, allocations: 2.235 MB / 492.5 MB, free: 133.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001586/0.5902, allocations: 0.6817 MB / 493.2 MB, free: 133.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/0.5916, allocations: 1.405 MB / 494.6 MB, free: 132 MB / 426.7 MB Notification: Performance of SimCode: time 2.796e-06/0.5916, allocations: 3.812 kB / 494.6 MB, free: 132 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09722/0.6888, allocations: 78.07 MB / 0.5593 GB, free: 59.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/10.24, allocations: 12 kB / 0.5593 GB, free: 59.66 MB / 426.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 16.318509786389768]