Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.0007996/0.0007996, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008377/0.0008377, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8956/0.8956, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.408e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.008334/0.008348, allocations: 11.33 MB / 335.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.01301, allocations: 4.043 MB / 340 MB, free: 488 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.01363, allocations: 103.3 kB / 340.1 MB, free: 384 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.01493, allocations: 0.978 MB / 341 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.01648, allocations: 1.288 MB / 342.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.01704, allocations: 0.5265 MB / 342.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.01973, allocations: 4.815 MB / 347.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.02145, allocations: 2.019 MB / 349.7 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.02421, allocations: 3.157 MB / 352.8 MB, free: 3.492 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.02604, allocations: 2.295 MB / 355.1 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.02646, allocations: 0.5508 MB / 355.7 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006604/0.02712, allocations: 0.6561 MB / 356.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008485/0.02797, allocations: 1.574 MB / 357.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.02918, allocations: 1.73 MB / 359.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004773/0.03395, allocations: 7.557 MB / 367.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.03396, allocations: 0 / 367.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.03396, allocations: 4 kB / 367.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.066e-05/0.03404, allocations: 4 kB / 367.2 MB, free: 5.09 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.005199/0.03924, allocations: 4.697 MB / 371.9 MB, free: 344 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.03928, allocations: 15.91 kB / 371.9 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004429/0.03972, allocations: 0.502 MB / 372.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.04054, allocations: 0.5487 MB / 373 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.04333, allocations: 2.532 MB / 375.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.04347, allocations: 267.4 kB / 375.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.04381, allocations: 359.9 kB / 376.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/0.0488, allocations: 5.283 MB / 381.4 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/0.04886, allocations: 7.953 kB / 381.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.04909, allocations: 147.9 kB / 381.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.0492, allocations: 179.1 kB / 381.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/0.05368, allocations: 4.291 MB / 386 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.06719, allocations: 13.4 MB / 399.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.06963, allocations: 2.689 MB / 402.1 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/0.0715, allocations: 1.874 MB / 404 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.07169, allocations: 57.97 kB / 404 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.07172, allocations: 56.5 kB / 404.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=198): time 3.176e-06/0.07173, allocations: 0 / 404.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01154/0.08326, allocations: 9.616 MB / 413.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.0833, allocations: 77.41 kB / 413.8 MB, free: 5.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.08558, allocations: 2.538 MB / 416.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/0.08568, allocations: 65.7 kB / 416.4 MB, free: 3.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007728/0.08645, allocations: 1.658 MB / 418.1 MB, free: 1.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.08687, allocations: 0.7591 MB / 418.8 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.08732, allocations: 416.4 kB / 419.2 MB, free: 432 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.0874, allocations: 305.1 kB / 419.5 MB, free: 124 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.08872, allocations: 1.305 MB / 420.8 MB, free: 14.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.0903, allocations: 1.774 MB / 422.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.09329, allocations: 3.208 MB / 425.8 MB, free: 9.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.0933, allocations: 7.984 kB / 425.8 MB, free: 9.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004378/0.09768, allocations: 4.065 MB / 429.9 MB, free: 5.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.09771, allocations: 12 kB / 429.9 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.09772, allocations: 12 kB / 429.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.09919, allocations: 0.8922 MB / 430.8 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.1003, allocations: 0.5266 MB / 431.3 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/0.1069, allocations: 9.059 MB / 440.4 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.1081, allocations: 119.9 kB / 440.5 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1082, allocations: 95.88 kB / 440.6 MB, free: 10.3 MB / 410.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.001708/0.1099, allocations: 1.218 MB / 441.8 MB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/0.1102, allocations: 290.2 kB / 442.1 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.1144, allocations: 3.703 MB / 445.8 MB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.1144, allocations: 20 kB / 445.8 MB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1144, allocations: 8 kB / 445.8 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.1144, allocations: 15.95 kB / 445.8 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.15/0.2644, allocations: 7.534 MB / 453.4 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.2644, allocations: 4.828 kB / 453.4 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000885/0.2653, allocations: 387.3 kB / 453.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.2669, allocations: 0.9291 MB / 454.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.267, allocations: 59.48 kB / 454.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.2725, allocations: 10.57 MB / 465.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2725, allocations: 10.44 kB / 465.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/0.277, allocations: 5.51 MB / 470.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/0.2778, allocations: 0.5783 MB / 471.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.278, allocations: 48 kB / 471.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/0.2787, allocations: 118 kB / 471.6 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.2789, allocations: 187.3 kB / 471.8 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.279, allocations: 59.8 kB / 471.8 MB, free: 100.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.2804, allocations: 1.736 MB / 473.5 MB, free: 98.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2804, allocations: 0 / 473.5 MB, free: 98.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001298/0.2817, allocations: 0.8024 MB / 474.4 MB, free: 98.01 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 {(3,25,88.9%), (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.004637/0.2863, allocations: 6.19 MB / 480.5 MB, free: 91.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.2893, allocations: 3.619 MB / 484.2 MB, free: 88.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2893, allocations: 8 kB / 484.2 MB, free: 88.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.291, allocations: 2.307 MB / 486.5 MB, free: 85.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.2927, allocations: 0.7879 MB / 487.3 MB, free: 85.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/0.3249, allocations: 29.67 MB / 0.5048 GB, free: 54.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.3266, allocations: 2.231 MB / 0.507 GB, free: 52.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001619/0.3282, allocations: 0.6868 MB / 0.5077 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.3296, allocations: 1.418 MB / 0.5091 GB, free: 50.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.844e-06/0.3296, allocations: 0 / 0.5091 GB, free: 50.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08823/0.4178, allocations: 78.29 MB / 0.5855 GB, free: 4.891 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.331/9.748, allocations: 7.875 kB / 0.5855 GB, free: 4.883 MB / 442.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 15.62430617120117]