Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001278/0.001278, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001405/0.001405, allocations: 150.2 kB / 24.49 MB, free: 3.723 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.438/1.438, allocations: 173.4 MB / 201.1 MB, free: 12.7 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 49.83 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09255, allocations: 52.17 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01049/0.103, allocations: 7.847 MB / 379.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.1083, allocations: 2.672 MB / 382.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.1091, allocations: 51.69 kB / 382.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.1107, allocations: 0.59 MB / 382.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002/0.1127, allocations: 0.7379 MB / 383.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.1134, allocations: 331.5 kB / 383.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002781/0.1162, allocations: 2.237 MB / 386.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.1177, allocations: 0.9696 MB / 387 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.1191, allocations: 1.047 MB / 388.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.1212, allocations: 1.234 MB / 389.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005114/0.1217, allocations: 268 kB / 389.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007197/0.1224, allocations: 359.8 kB / 389.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008347/0.1232, allocations: 0.7674 MB / 390.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.1245, allocations: 0.9764 MB / 391.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004296/0.1288, allocations: 3.558 MB / 395.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1288, allocations: 0 / 395.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1288, allocations: 0 / 395.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.671e-05/0.1289, allocations: 0 / 395.2 MB, free: 15.57 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005487/0.1344, allocations: 2.474 MB / 397.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1344, allocations: 8.922 kB / 397.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/0.1351, allocations: 263.4 kB / 398 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.1375, allocations: 1.242 MB / 399.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.1378, allocations: 131.9 kB / 399.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.138, allocations: 184.1 kB / 399.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004531/0.1426, allocations: 2.483 MB / 402 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.703e-05/0.1426, allocations: 3.953 kB / 402 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.1428, allocations: 72 kB / 402.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.1429, allocations: 95.44 kB / 402.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.1467, allocations: 1.962 MB / 404.1 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.1584, allocations: 6.11 MB / 410.2 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.1603, allocations: 0.9857 MB / 411.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.162, allocations: 0.8147 MB / 412 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.1622, allocations: 44.91 kB / 412.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.1623, allocations: 43.56 kB / 412.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.586e-06/0.1623, allocations: 0 / 412.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01482/0.1771, allocations: 5.641 MB / 417.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1771, allocations: 64.41 kB / 417.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.1788, allocations: 1.075 MB / 418.9 MB, free: 7.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-05/0.1789, allocations: 45.64 kB / 418.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/0.1796, allocations: 0.8941 MB / 419.8 MB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.18, allocations: 384.8 kB / 420.2 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.1804, allocations: 222.9 kB / 420.4 MB, free: 5.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1805, allocations: 357.9 kB / 420.8 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.1817, allocations: 0.6233 MB / 421.4 MB, free: 4.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.183, allocations: 0.9188 MB / 422.3 MB, free: 3.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.1857, allocations: 1.639 MB / 424 MB, free: 2.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.1857, allocations: 8 kB / 424 MB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004188/0.1898, allocations: 2.133 MB / 426.1 MB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1899, allocations: 8 kB / 426.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1899, allocations: 8 kB / 426.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.1911, allocations: 483.9 kB / 426.6 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.1921, allocations: 267.6 kB / 426.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007387/0.1995, allocations: 6.6 MB / 433.4 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.2005, allocations: 79.88 kB / 433.5 MB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.2006, allocations: 55.92 kB / 433.6 MB, free: 8.172 MB / 398.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.001016/0.2016, allocations: 0.595 MB / 434.2 MB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.2019, allocations: 127.2 kB / 434.3 MB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.2056, allocations: 1.935 MB / 436.2 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2056, allocations: 15.94 kB / 436.2 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.2056, allocations: 4 kB / 436.3 MB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2056, allocations: 7.984 kB / 436.3 MB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006949/0.2126, allocations: 3.661 MB / 439.9 MB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.2126, allocations: 4 kB / 439.9 MB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.2134, allocations: 183.7 kB / 440.1 MB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.2148, allocations: 0.5157 MB / 440.6 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/0.2149, allocations: 31.98 kB / 440.7 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008951/0.2238, allocations: 8.071 MB / 448.7 MB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.2238, allocations: 11.88 kB / 448.7 MB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005277/0.2291, allocations: 2.839 MB / 451.6 MB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/0.2299, allocations: 255.2 kB / 451.8 MB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.2301, allocations: 35.92 kB / 451.9 MB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007701/0.2309, allocations: 71.86 kB / 451.9 MB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.2311, allocations: 104.8 kB / 452 MB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-05/0.2312, allocations: 35.92 kB / 452.1 MB, free: 5.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.2324, allocations: 0.7331 MB / 452.8 MB, free: 4.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2324, allocations: 0 / 452.8 MB, free: 4.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001486/0.2338, allocations: 408 kB / 453.2 MB, free: 3.91 MB / 414.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.0003424/0.2342, allocations: 185.8 kB / 453.4 MB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003598/0.2378, allocations: 1.952 MB / 455.3 MB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.2378, allocations: 3.984 kB / 455.3 MB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.2403, allocations: 1.341 MB / 456.7 MB, free: 332 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.2422, allocations: 322.9 kB / 457 MB, free: 12 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.2492, allocations: 3.954 MB / 460.9 MB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.2507, allocations: 1.058 MB / 462 MB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008634/0.2515, allocations: 278.7 kB / 462.3 MB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.2518, allocations: 92.48 kB / 462.4 MB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2518, allocations: 0 / 462.4 MB, free: 10.5 MB / 430.1 MB Notification: Performance of Templates: time 0.201/0.4528, allocations: 21.14 MB / 483.5 MB, free: 87.57 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4860546588897705]