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.00135/0.00135, allocations: 125.2 kB / 17.79 MB, free: 5.121 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.001359/0.001359, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.425/1.425, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.92 kB / 365.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.111, allocations: 52.13 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01181/0.1228, allocations: 8.96 MB / 426.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006209/0.129, allocations: 2.866 MB / 429.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.1308, allocations: 43.88 kB / 429.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.1329, allocations: 0.6368 MB / 430.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.1358, allocations: 0.777 MB / 431.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.1367, allocations: 315.5 kB / 431.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.1401, allocations: 2.358 MB / 433.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.1421, allocations: 1.286 MB / 435 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.1439, allocations: 1.071 MB / 436.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.1464, allocations: 1.37 MB / 437.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008293/0.1473, allocations: 284 kB / 437.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1485, allocations: 371.8 kB / 438.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.1496, allocations: 0.8141 MB / 438.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.1515, allocations: 1.26 MB / 440.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.1565, allocations: 3.686 MB / 443.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1565, allocations: 4 kB / 443.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1565, allocations: 0 / 443.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001118/0.1566, allocations: 0 / 443.9 MB, free: 2.395 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.1937/0.3503, allocations: 2.632 MB / 446.5 MB, free: 28.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3503, allocations: 11.09 kB / 446.5 MB, free: 28.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004075/0.3507, allocations: 270.3 kB / 446.8 MB, free: 28.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/0.3514, allocations: 267.5 kB / 447 MB, free: 28.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.3538, allocations: 1.394 MB / 448.4 MB, free: 28.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.995e-05/0.3539, allocations: 137 kB / 448.6 MB, free: 28.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.3542, allocations: 186.5 kB / 448.7 MB, free: 28.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.3577, allocations: 2.407 MB / 451.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-05/0.3577, allocations: 7.594 kB / 451.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.3579, allocations: 76.48 kB / 451.2 MB, free: 28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.095e-05/0.358, allocations: 88.06 kB / 451.3 MB, free: 27.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.3615, allocations: 2.016 MB / 453.3 MB, free: 27.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.3732, allocations: 7.392 MB / 460.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.3749, allocations: 1.218 MB / 461.9 MB, free: 22.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.3764, allocations: 0.8635 MB / 462.8 MB, free: 22.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.3766, allocations: 117.4 kB / 462.9 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3767, allocations: 44.34 kB / 463 MB, free: 22.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.115e-06/0.3767, allocations: 3.781 kB / 463 MB, free: 22.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.00839/0.3851, allocations: 4.914 MB / 467.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3851, allocations: 62.62 kB / 467.9 MB, free: 20.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.3869, allocations: 1.378 MB / 469.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.3871, allocations: 46.2 kB / 469.4 MB, free: 19.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.3875, allocations: 0.9137 MB / 470.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.3877, allocations: 371.5 kB / 470.6 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.388, allocations: 214.4 kB / 470.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.3881, allocations: 355.1 kB / 471.2 MB, free: 17.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008594/0.389, allocations: 0.6353 MB / 471.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009395/0.3899, allocations: 0.9266 MB / 472.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.3917, allocations: 1.646 MB / 474.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.3917, allocations: 2.75 kB / 474.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00366/0.3954, allocations: 2.381 MB / 476.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3954, allocations: 8.594 kB / 476.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3954, allocations: 8.594 kB / 476.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.3969, allocations: 0.708 MB / 477.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.3977, allocations: 243 kB / 477.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.4056, allocations: 8.723 MB / 486.5 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4069, allocations: 87.86 kB / 486.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.407, allocations: 44 kB / 486.6 MB, free: 6.352 MB / 366.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.000944/0.4079, allocations: 0.634 MB / 487.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.4083, allocations: 147.1 kB / 487.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.4111, allocations: 1.894 MB / 489.3 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.4111, allocations: 9.125 kB / 489.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.4111, allocations: 4 kB / 489.3 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.4111, allocations: 7.969 kB / 489.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/0.4176, allocations: 3.993 MB / 493.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.4176, allocations: 7.938 kB / 493.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.4184, allocations: 179.7 kB / 493.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4197, allocations: 465.1 kB / 493.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.4198, allocations: 31.98 kB / 494 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007593/0.4274, allocations: 6.686 MB / 0.4889 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.4274, allocations: 8.844 kB / 0.4889 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/0.4325, allocations: 2.761 MB / 0.4916 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.4338, allocations: 364 kB / 0.492 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/0.4344, allocations: 36.58 kB / 0.492 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.4355, allocations: 67.92 kB / 0.4921 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.4358, allocations: 76.95 kB / 0.4921 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/0.4359, allocations: 31.98 kB / 0.4922 GB, free: 4.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001952/0.4379, allocations: 0.9543 MB / 0.4931 GB, free: 3.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4379, allocations: 0 / 0.4931 GB, free: 3.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001805/0.4397, allocations: 431.9 kB / 0.4935 GB, free: 3.004 MB / 382.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.005164/0.4449, allocations: 3.42 MB / 0.4969 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.4484, allocations: 1.942 MB / 0.4987 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4484, allocations: 4 kB / 0.4988 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.4505, allocations: 1.305 MB / 0.5 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.4526, allocations: 378.1 kB / 0.5004 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/0.4807, allocations: 16.33 MB / 0.5163 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.4824, allocations: 1.689 MB / 0.518 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009258/0.4833, allocations: 316 kB / 0.5183 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000946/0.4842, allocations: 0.6984 MB / 0.519 GB, free: 8.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4842, allocations: 0 / 0.519 GB, free: 8.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09018/0.5744, allocations: 40.17 MB / 0.5582 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.45/18.03, allocations: 6.5 kB / 0.5582 GB, free: 0.5625 MB / 446.1 MB " [Timeout remaining time 642] (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_2/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_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.48745613032952]