Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008724/0.0008724, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9497/0.9497, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.441e-05, allocations: 3.125 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01055/0.01057, allocations: 11.36 MB / 335.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008396/0.01897, allocations: 4.062 MB / 340 MB, free: 384 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.02127, allocations: 103.3 kB / 340.1 MB, free: 280 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.02344, allocations: 0.974 MB / 341 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.0272, allocations: 1.296 MB / 342.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.02856, allocations: 0.5459 MB / 342.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005855/0.03442, allocations: 4.849 MB / 347.7 MB, free: 8.566 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/0.03778, allocations: 2.011 MB / 349.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00706/0.04484, allocations: 3.192 MB / 352.9 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004544/0.04938, allocations: 2.295 MB / 355.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.05073, allocations: 0.5547 MB / 355.8 MB, free: 464 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.05205, allocations: 0.6561 MB / 356.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.05319, allocations: 1.589 MB / 358 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002728/0.05592, allocations: 1.727 MB / 359.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008892/0.06481, allocations: 7.58 MB / 367.3 MB, free: 4.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.06482, allocations: 0 / 367.3 MB, free: 4.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.06483, allocations: 0 / 367.3 MB, free: 4.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004446/0.06527, allocations: 0 / 367.3 MB, free: 4.871 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01179/0.07706, allocations: 4.724 MB / 372.1 MB, free: 92 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.07711, allocations: 11.98 kB / 372.1 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005868/0.0777, allocations: 0.5061 MB / 372.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.07899, allocations: 0.5565 MB / 373.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.08279, allocations: 2.536 MB / 375.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.08312, allocations: 267.4 kB / 375.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.08349, allocations: 360.3 kB / 376.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006609/0.0901, allocations: 5.315 MB / 381.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.488e-05/0.09017, allocations: 4 kB / 381.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.09041, allocations: 144 kB / 381.7 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.09056, allocations: 195.1 kB / 381.9 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006523/0.09708, allocations: 4.302 MB / 386.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.1155, allocations: 13.43 MB / 399.7 MB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.1184, allocations: 2.696 MB / 402.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.1206, allocations: 1.874 MB / 404.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.1208, allocations: 57.95 kB / 404.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.1208, allocations: 60.55 kB / 404.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=198): time 4.418e-06/0.1209, allocations: 0 / 404.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01448/0.1353, allocations: 9.616 MB / 414 MB, free: 5.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1354, allocations: 77.34 kB / 414 MB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.1385, allocations: 2.545 MB / 416.6 MB, free: 2.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.1387, allocations: 65.7 kB / 416.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009187/0.1396, allocations: 1.662 MB / 418.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006804/0.1403, allocations: 0.763 MB / 419.1 MB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/0.1407, allocations: 412.5 kB / 419.5 MB, free: 60 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.1408, allocations: 305.1 kB / 419.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.1424, allocations: 1.297 MB / 421.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.1441, allocations: 1.774 MB / 422.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.1475, allocations: 3.215 MB / 426.1 MB, free: 9.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.1475, allocations: 8 kB / 426.1 MB, free: 9.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004981/0.1525, allocations: 4.077 MB / 430.1 MB, free: 4.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.1526, allocations: 12 kB / 430.2 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.1526, allocations: 12 kB / 430.2 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.1542, allocations: 0.8836 MB / 431.1 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.1554, allocations: 0.5305 MB / 431.6 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007883/0.1632, allocations: 9.055 MB / 440.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.1652, allocations: 119.8 kB / 440.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.1654, allocations: 84 kB / 440.8 MB, free: 9.938 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.002059/0.1675, allocations: 1.222 MB / 442.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.1681, allocations: 294.1 kB / 442.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.1724, allocations: 3.695 MB / 446 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.1725, allocations: 20 kB / 446.1 MB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.1725, allocations: 8 kB / 446.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.1725, allocations: 15.84 kB / 446.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1892/0.3617, allocations: 7.541 MB / 453.6 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.3617, allocations: 7.812 kB / 453.6 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/0.3626, allocations: 385.2 kB / 454 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.3642, allocations: 0.9317 MB / 454.9 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.3644, allocations: 50.91 kB / 455 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006013/0.3704, allocations: 10.57 MB / 465.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3704, allocations: 2.75 kB / 465.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.377, allocations: 5.519 MB / 471.1 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.3785, allocations: 0.5785 MB / 471.7 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.3787, allocations: 47.75 kB / 471.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/0.3794, allocations: 117 kB / 471.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/0.3797, allocations: 197 kB / 472 MB, free: 99.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.3798, allocations: 59.84 kB / 472.1 MB, free: 99.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001595/0.3814, allocations: 1.736 MB / 473.8 MB, free: 98.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3814, allocations: 0 / 473.8 MB, free: 98.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001578/0.383, allocations: 0.8035 MB / 474.6 MB, free: 97.58 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.004723/0.3877, allocations: 6.188 MB / 480.8 MB, free: 91.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.3909, allocations: 3.613 MB / 484.4 MB, free: 87.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3909, allocations: 3.938 kB / 484.4 MB, free: 87.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.3928, allocations: 2.31 MB / 486.7 MB, free: 85.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.395, allocations: 0.8006 MB / 487.5 MB, free: 84.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.4265, allocations: 29.68 MB / 0.5051 GB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.428, allocations: 2.248 MB / 0.5073 GB, free: 52.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001473/0.4295, allocations: 0.6868 MB / 0.5079 GB, free: 51.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.4305, allocations: 1.422 MB / 0.5093 GB, free: 50.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4305, allocations: 4 kB / 0.5093 GB, free: 50 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09631/0.5268, allocations: 78.32 MB / 0.5858 GB, free: 4.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.968/9.495, allocations: 3.938 kB / 0.5858 GB, free: 4.223 MB / 442.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 15.83637335523963]