Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.22 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09705, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01084/0.1079, allocations: 8.837 MB / 365.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005487/0.1135, allocations: 2.847 MB / 368.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1148, allocations: 39.81 kB / 368.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.1168, allocations: 0.5479 MB / 369.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1192, allocations: 0.6333 MB / 370 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.1201, allocations: 287.7 kB / 370.3 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1592/0.2793, allocations: 2.215 MB / 372.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/0.2822, allocations: 1.74 MB / 374.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.284, allocations: 1.025 MB / 375.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.2862, allocations: 1.315 MB / 376.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004779/0.2867, allocations: 268.6 kB / 376.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.2876, allocations: 363.5 kB / 377.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000671/0.2883, allocations: 0.7613 MB / 377.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.2893, allocations: 1.214 MB / 379.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.2926, allocations: 3.502 MB / 382.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2926, allocations: 0 / 382.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2926, allocations: 2.812 kB / 382.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.914e-05/0.2927, allocations: 1.125 kB / 382.7 MB, free: 8.363 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004438/0.2971, allocations: 2.487 MB / 385.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2972, allocations: 9.5 kB / 385.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/0.2975, allocations: 265.1 kB / 385.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.2982, allocations: 259.9 kB / 385.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.3001, allocations: 1.276 MB / 387 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.3002, allocations: 134.8 kB / 387.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.3004, allocations: 177.8 kB / 387.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.3041, allocations: 2.376 MB / 389.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.3042, allocations: 11.27 kB / 389.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.3044, allocations: 70.75 kB / 389.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.3045, allocations: 99.78 kB / 389.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.3076, allocations: 1.961 MB / 391.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009561/0.3172, allocations: 7.141 MB / 398.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.3194, allocations: 1.28 MB / 400.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.3218, allocations: 0.873 MB / 401.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.3221, allocations: 115.6 kB / 401.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.3222, allocations: 51.08 kB / 401.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.587e-06/0.3222, allocations: 0 / 401.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.02329/0.3455, allocations: 6.114 MB / 407.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.3456, allocations: 64.41 kB / 407.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.349, allocations: 1.215 MB / 408.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.3492, allocations: 41.7 kB / 408.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.3502, allocations: 0.8682 MB / 409.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/0.3508, allocations: 365.7 kB / 409.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005984/0.3514, allocations: 218.8 kB / 410.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3516, allocations: 361.9 kB / 410.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.3532, allocations: 0.6189 MB / 411.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.3552, allocations: 0.9221 MB / 412 MB, free: 2.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.3592, allocations: 1.64 MB / 413.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.3592, allocations: 4 kB / 413.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006532/0.3657, allocations: 2.225 MB / 415.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.3658, allocations: 8 kB / 415.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.3658, allocations: 12 kB / 415.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/0.3677, allocations: 483.5 kB / 416.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.3693, allocations: 271.8 kB / 416.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.3801, allocations: 7.012 MB / 423.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.3821, allocations: 90.91 kB / 423.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.3824, allocations: 44 kB / 423.8 MB, free: 6.012 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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 {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001778/0.3842, allocations: 0.6047 MB / 424.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/0.3848, allocations: 138.3 kB / 424.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.3905, allocations: 2.032 MB / 426.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.3906, allocations: 8 kB / 426.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.3906, allocations: 4 kB / 426.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.3906, allocations: 3.984 kB / 426.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.4024, allocations: 4.222 MB / 430.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.4024, allocations: 7.938 kB / 430.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.4036, allocations: 175.8 kB / 431 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.4056, allocations: 0.5316 MB / 431.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4057, allocations: 35.97 kB / 431.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008293/0.4141, allocations: 8.622 MB / 440.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4141, allocations: 8.062 kB / 440.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005122/0.4192, allocations: 2.942 MB / 443.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.4202, allocations: 347.3 kB / 443.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/0.4207, allocations: 28 kB / 443.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.4218, allocations: 79.84 kB / 443.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.4221, allocations: 80.83 kB / 443.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.798e-05/0.4222, allocations: 35.98 kB / 443.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00153/0.4237, allocations: 0.85 MB / 444.5 MB, free: 496 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4237, allocations: 0 / 444.5 MB, free: 496 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001835/0.4256, allocations: 411.9 kB / 444.9 MB, free: 84 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * 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,6,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.005667/0.4312, allocations: 3.566 MB / 448.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004554/0.4358, allocations: 2.498 MB / 451 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.4358, allocations: 4.188 kB / 451 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.4383, allocations: 1.483 MB / 452.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.4409, allocations: 385.8 kB / 452.8 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/0.4703, allocations: 16.99 MB / 469.8 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.472, allocations: 1.634 MB / 471.5 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.473, allocations: 295.8 kB / 471.7 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/0.474, allocations: 0.6985 MB / 472.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.474, allocations: 0 / 472.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07275/0.5468, allocations: 36.56 MB / 0.4971 GB, free: 15.22 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.547, allocations: 251.2 kB / 0.4973 GB, free: 14.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.261, allocations: 2.812 kB / 0.4973 GB, free: 14.96 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches