Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2693, allocations: 52.18 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01119/0.2805, allocations: 8.997 MB / 432.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005602/0.2861, allocations: 2.878 MB / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009822/0.2871, allocations: 55.62 kB / 435.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.2886, allocations: 0.6403 MB / 436 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.2908, allocations: 0.7808 MB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.2915, allocations: 315.5 kB / 437.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002889/0.2944, allocations: 2.369 MB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.2958, allocations: 1.02 MB / 440.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.2975, allocations: 1.09 MB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.2997, allocations: 1.378 MB / 442.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000478/0.3001, allocations: 280 kB / 443.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.3009, allocations: 375.8 kB / 443.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008574/0.3018, allocations: 0.8102 MB / 444.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.3032, allocations: 1.256 MB / 445.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004135/0.3074, allocations: 3.694 MB / 449.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3074, allocations: 0 / 449.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3074, allocations: 0 / 449.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.794e-05/0.3075, allocations: 4 kB / 449.3 MB, free: 4.566 MB / 350.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.00579/0.3133, allocations: 2.567 MB / 451.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3133, allocations: 8.031 kB / 451.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.808e-05/0.3134, allocations: 47.77 kB / 452 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000374/0.3137, allocations: 270 kB / 452.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007238/0.3145, allocations: 271.3 kB / 452.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.317, allocations: 1.333 MB / 453.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.3171, allocations: 135.7 kB / 454 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.3174, allocations: 184 kB / 454.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.3215, allocations: 2.406 MB / 456.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/0.3215, allocations: 4 kB / 456.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3217, allocations: 79.98 kB / 456.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.3218, allocations: 83.48 kB / 456.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.3253, allocations: 2.02 MB / 458.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.3375, allocations: 7.253 MB / 466 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.3393, allocations: 0.997 MB / 467 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.341, allocations: 0.8651 MB / 467.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.3413, allocations: 48.94 kB / 467.9 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.3413, allocations: 43.56 kB / 467.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.876e-06/0.3413, allocations: 0 / 467.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01004/0.3514, allocations: 4.677 MB / 472.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3514, allocations: 68.39 kB / 472.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.3536, allocations: 1.376 MB / 474.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3537, allocations: 41.7 kB / 474.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007756/0.3545, allocations: 0.9187 MB / 475 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.3548, allocations: 376.9 kB / 475.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/0.3552, allocations: 214.8 kB / 475.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3554, allocations: 353.9 kB / 475.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3565, allocations: 0.6311 MB / 476.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.3578, allocations: 0.922 MB / 477.5 MB, free: 7.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.3602, allocations: 1.645 MB / 479.1 MB, free: 6.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.3602, allocations: 7.938 kB / 479.1 MB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004623/0.3648, allocations: 2.379 MB / 481.5 MB, free: 3.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.3649, allocations: 8 kB / 481.5 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.3649, allocations: 11.94 kB / 481.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.3669, allocations: 0.716 MB / 482.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.3678, allocations: 235.6 kB / 482.5 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.3791, allocations: 8.531 MB / 491 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3803, allocations: 80.03 kB / 491.1 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3804, allocations: 51.98 kB / 491.1 MB, free: 9.812 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.001063/0.3814, allocations: 0.6186 MB / 491.8 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.3817, allocations: 151.1 kB / 491.9 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/0.385, allocations: 1.889 MB / 493.8 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.385, allocations: 11.94 kB / 493.8 MB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.385, allocations: 4 kB / 493.8 MB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.385, allocations: 7.984 kB / 493.8 MB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006749/0.3918, allocations: 3.961 MB / 497.8 MB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.3918, allocations: 20.08 kB / 497.8 MB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.3926, allocations: 175.8 kB / 498 MB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3938, allocations: 462.9 kB / 498.4 MB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.3939, allocations: 35.91 kB / 498.5 MB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006849/0.4008, allocations: 6.37 MB / 0.493 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4008, allocations: 3.938 kB / 0.493 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/0.4054, allocations: 2.78 MB / 0.4957 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/0.4062, allocations: 290.9 kB / 0.496 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.4064, allocations: 24 kB / 0.496 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007418/0.4071, allocations: 71.91 kB / 0.4961 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.4074, allocations: 80.78 kB / 0.4962 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.4075, allocations: 35.92 kB / 0.4962 GB, free: 8.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.4089, allocations: 0.9543 MB / 0.4971 GB, free: 7.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4089, allocations: 0 / 0.4971 GB, free: 7.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00149/0.4104, allocations: 439.9 kB / 0.4976 GB, free: 6.938 MB / 414.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.004998/0.4154, allocations: 3.396 MB / 0.5009 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003576/0.419, allocations: 1.934 MB / 0.5028 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.419, allocations: 0 / 0.5028 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.4212, allocations: 1.241 MB / 0.504 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.4232, allocations: 379.2 kB / 0.5043 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/0.4516, allocations: 16.35 MB / 0.5203 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.4531, allocations: 1.689 MB / 0.5219 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009758/0.4541, allocations: 312 kB / 0.5222 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009693/0.4551, allocations: 0.7023 MB / 0.5229 GB, free: 12.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4551, allocations: 0 / 0.5229 GB, free: 12.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2825/0.7375, allocations: 41.13 MB / 0.5631 GB, free: 91.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.82/19.55, allocations: 21.98 kB / 0.5631 GB, free: 91.32 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 25.58337438799208]