Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.002238/0.002238, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002074/0.002074, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 47.92 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2457, allocations: 53.36 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01126/0.2569, allocations: 9.039 MB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.2629, allocations: 2.961 MB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.2641, allocations: 55.62 kB / 443.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.2661, allocations: 0.6479 MB / 443.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.2687, allocations: 0.7846 MB / 444.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2697, allocations: 339.5 kB / 445 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003392/0.2731, allocations: 2.377 MB / 447.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.2749, allocations: 1.017 MB / 448.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.2767, allocations: 1.102 MB / 449.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.2792, allocations: 1.382 MB / 450.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006731/0.2799, allocations: 280 kB / 451.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.2811, allocations: 383.8 kB / 451.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.2822, allocations: 0.8219 MB / 452.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.2843, allocations: 1.256 MB / 453.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.289, allocations: 3.714 MB / 457.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.289, allocations: 3.938 kB / 457.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2891, allocations: 3.938 kB / 457.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001077/0.2892, allocations: 4 kB / 457.3 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006301/0.2955, allocations: 2.571 MB / 459.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2955, allocations: 16.02 kB / 459.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005671/0.2961, allocations: 270 kB / 460.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.2972, allocations: 299.3 kB / 460.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.3005, allocations: 1.345 MB / 461.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3006, allocations: 139.7 kB / 461.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.3011, allocations: 183.9 kB / 462.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00512/0.3062, allocations: 2.413 MB / 464.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.546e-05/0.3063, allocations: 7.984 kB / 464.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/0.3066, allocations: 68 kB / 464.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.3067, allocations: 87.5 kB / 464.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.3108, allocations: 2.016 MB / 466.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.3252, allocations: 7.257 MB / 473.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.3273, allocations: 0.9933 MB / 474.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.3292, allocations: 0.8612 MB / 475.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.3294, allocations: 40.95 kB / 475.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.3295, allocations: 43.56 kB / 475.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.277e-06/0.3295, allocations: 0 / 475.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01054/0.34, allocations: 4.699 MB / 480.6 MB, free: 4.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3401, allocations: 64.39 kB / 480.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.3426, allocations: 1.389 MB / 482 MB, free: 3.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.3428, allocations: 49.69 kB / 482.1 MB, free: 3.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/0.3437, allocations: 0.915 MB / 483 MB, free: 2.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.3441, allocations: 372.8 kB / 483.4 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.3445, allocations: 210.9 kB / 483.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3447, allocations: 357.9 kB / 483.9 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.3458, allocations: 0.6311 MB / 484.5 MB, free: 0.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3472, allocations: 0.922 MB / 485.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.3497, allocations: 1.649 MB / 487.1 MB, free: 14.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.3497, allocations: 7.938 kB / 487.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004593/0.3543, allocations: 2.379 MB / 489.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3543, allocations: 8 kB / 489.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3543, allocations: 8 kB / 489.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.3562, allocations: 0.7168 MB / 490.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009397/0.3572, allocations: 235.7 kB / 490.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.369, allocations: 8.534 MB / 499 MB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.3702, allocations: 87.86 kB / 499.1 MB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.3704, allocations: 47.98 kB / 499.1 MB, free: 1.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001178/0.3715, allocations: 0.634 MB / 499.8 MB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.3719, allocations: 151 kB / 499.9 MB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/0.3755, allocations: 1.901 MB / 0.4901 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3756, allocations: 12 kB / 0.4901 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3756, allocations: 4 kB / 0.4901 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3756, allocations: 3.984 kB / 0.4901 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/0.3835, allocations: 3.957 MB / 0.4939 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.3835, allocations: 3.984 kB / 0.4939 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/0.3843, allocations: 184 kB / 0.4941 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.3856, allocations: 466.9 kB / 0.4946 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.3857, allocations: 27.92 kB / 0.4946 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007122/0.3928, allocations: 6.384 MB / 0.5008 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.3928, allocations: 7.922 kB / 0.5008 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.3978, allocations: 2.772 MB / 0.5035 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009541/0.3987, allocations: 290.9 kB / 0.5038 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.3991, allocations: 28 kB / 0.5038 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/0.4, allocations: 67.92 kB / 0.5039 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.4003, allocations: 80.83 kB / 0.504 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/0.4003, allocations: 39.86 kB / 0.504 GB, free: 284 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001764/0.4021, allocations: 0.9587 MB / 0.505 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4021, allocations: 0 / 0.505 GB, free: 15.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001671/0.4038, allocations: 440 kB / 0.5054 GB, free: 14.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(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.005538/0.4093, allocations: 3.406 MB / 0.5087 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.4132, allocations: 1.933 MB / 0.5106 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.4132, allocations: 5.875 kB / 0.5106 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002235/0.4154, allocations: 1.225 MB / 0.5118 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.4179, allocations: 391.4 kB / 0.5122 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/0.4489, allocations: 16.4 MB / 0.5282 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.4508, allocations: 1.696 MB / 0.5298 GB, free: 5.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.4519, allocations: 324 kB / 0.5302 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/0.4531, allocations: 0.7102 MB / 0.5308 GB, free: 4.184 MB / 446.1 MB Notification: Performance of SimCode: time 1.133e-06/0.4531, allocations: 0 / 0.5308 GB, free: 4.184 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3536/0.8067, allocations: 41.32 MB / 0.5712 GB, free: 76.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/20.5, allocations: 11.19 kB / 0.5712 GB, free: 76.76 MB / 446.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 24.69455151888542]