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.001364/0.001364, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.94 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.0937, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.0103/0.1041, allocations: 8.879 MB / 366.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.1092, allocations: 2.89 MB / 369.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1103, allocations: 47.81 kB / 369.4 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.1121, allocations: 0.6017 MB / 370 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.1147, allocations: 0.7027 MB / 370.7 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.1156, allocations: 327.5 kB / 371 MB, free: 496 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1614/0.277, allocations: 2.221 MB / 373.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.2801, allocations: 1.738 MB / 375 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.2821, allocations: 1.02 MB / 376 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.2847, allocations: 1.287 MB / 377.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009035/0.2856, allocations: 267.5 kB / 377.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.287, allocations: 364.2 kB / 377.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007866/0.2878, allocations: 0.759 MB / 378.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.2895, allocations: 1.212 MB / 379.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.2935, allocations: 3.5 MB / 383.4 MB, free: 8.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2935, allocations: 3.938 kB / 383.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.2935, allocations: 1.719 kB / 383.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.739e-05/0.2936, allocations: 0 / 383.4 MB, free: 8.105 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.00549/0.2991, allocations: 2.487 MB / 385.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2991, allocations: 8.844 kB / 385.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.2994, allocations: 267.9 kB / 386.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007064/0.3002, allocations: 249.9 kB / 386.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.302, allocations: 1.268 MB / 387.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.3021, allocations: 145.4 kB / 387.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.3024, allocations: 177.8 kB / 388 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.3058, allocations: 2.375 MB / 390.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.3059, allocations: 6.062 kB / 390.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.3061, allocations: 75.78 kB / 390.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.395e-05/0.3062, allocations: 92.03 kB / 390.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.3092, allocations: 1.965 MB / 392.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009208/0.3184, allocations: 7.15 MB / 399.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.3201, allocations: 1.275 MB / 400.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.3217, allocations: 0.8719 MB / 401.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.3219, allocations: 118.1 kB / 401.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.322, allocations: 43.56 kB / 401.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.322, allocations: 0 / 401.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01438/0.3364, allocations: 6.111 MB / 408 MB, free: 6.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3365, allocations: 63.78 kB / 408.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.3386, allocations: 1.227 MB / 409.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.3387, allocations: 41.7 kB / 409.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006209/0.3393, allocations: 0.8642 MB / 410.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.3397, allocations: 368.9 kB / 410.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.34, allocations: 218.8 kB / 410.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3402, allocations: 357.9 kB / 411.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.3412, allocations: 0.6155 MB / 411.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.3425, allocations: 0.9231 MB / 412.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.3449, allocations: 1.634 MB / 414.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.3449, allocations: 7.938 kB / 414.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003913/0.3488, allocations: 2.222 MB / 416.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.3489, allocations: 14.75 kB / 416.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.3489, allocations: 8.25 kB / 416.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.3501, allocations: 483.4 kB / 417.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/0.3511, allocations: 272.3 kB / 417.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.3575, allocations: 7.011 MB / 424.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.3589, allocations: 91.81 kB / 424.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/0.359, allocations: 48 kB / 424.5 MB, free: 5.406 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.001229/0.3602, allocations: 0.6002 MB / 425.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.3605, allocations: 138.3 kB / 425.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.3639, allocations: 2.028 MB / 427.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3639, allocations: 12 kB / 427.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3639, allocations: 4 kB / 427.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.3639, allocations: 11.97 kB / 427.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006442/0.3704, allocations: 4.224 MB / 431.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.3704, allocations: 4 kB / 431.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.3712, allocations: 180.2 kB / 431.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.3725, allocations: 0.5275 MB / 432.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.3726, allocations: 35.98 kB / 432.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007389/0.38, allocations: 8.625 MB / 440.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.38, allocations: 4 kB / 440.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/0.3844, allocations: 2.951 MB / 443.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007211/0.3851, allocations: 339.3 kB / 444.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.3854, allocations: 31.98 kB / 444.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/0.3862, allocations: 75.86 kB / 444.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.3864, allocations: 92.81 kB / 444.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.3865, allocations: 32 kB / 444.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.3877, allocations: 0.8422 MB / 445.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3877, allocations: 0 / 445.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00146/0.3891, allocations: 411.9 kB / 445.6 MB, free: 15.49 MB / 366.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.004771/0.3939, allocations: 3.573 MB / 449.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004265/0.3982, allocations: 2.496 MB / 451.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3982, allocations: 2 kB / 451.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.4004, allocations: 1.479 MB / 453.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.4025, allocations: 391.5 kB / 453.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/0.4266, allocations: 16.22 MB / 469.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.428, allocations: 1.638 MB / 471.4 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009804/0.429, allocations: 307.7 kB / 471.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008391/0.4298, allocations: 0.6906 MB / 472.4 MB, free: 3.508 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4299, allocations: 3.938 kB / 472.4 MB, free: 3.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0766/0.5065, allocations: 36.7 MB / 0.4972 GB, free: 15.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.06, allocations: 3.625 kB / 0.4972 GB, free: 15.19 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