Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_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_1_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.001707/0.001707, allocations: 47.92 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3015, allocations: 53.36 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01136/0.3128, allocations: 7.934 MB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006164/0.319, allocations: 2.777 MB / 442.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.3202, allocations: 55.62 kB / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.3219, allocations: 0.59 MB / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.3243, allocations: 0.7807 MB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.3252, allocations: 335.5 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.3286, allocations: 2.377 MB / 446.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.3307, allocations: 1.02 MB / 447.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.3328, allocations: 1.102 MB / 448.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.3356, allocations: 1.386 MB / 450.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008608/0.3365, allocations: 280 kB / 450.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.3379, allocations: 375.8 kB / 450.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.3393, allocations: 0.8141 MB / 451.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002522/0.3418, allocations: 1.023 MB / 452.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005931/0.3477, allocations: 3.737 MB / 456.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.3478, allocations: 11.86 kB / 456.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3478, allocations: 0 / 456.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.3479, allocations: 0 / 456.4 MB, free: 13.94 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.007869/0.3558, allocations: 2.571 MB / 459 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.3558, allocations: 12.03 kB / 459 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.45e-05/0.3559, allocations: 47.77 kB / 459.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000869/0.3568, allocations: 273.9 kB / 459.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.3584, allocations: 303.3 kB / 459.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.362, allocations: 1.337 MB / 461 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.3622, allocations: 139.5 kB / 461.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005644/0.3627, allocations: 183.9 kB / 461.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005784/0.3685, allocations: 2.51 MB / 463.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.469e-05/0.3686, allocations: 4 kB / 463.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.3689, allocations: 79.92 kB / 463.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.369, allocations: 83.5 kB / 464 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/0.3734, allocations: 2.02 MB / 466 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0145/0.3879, allocations: 6.668 MB / 472.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.39, allocations: 0.9749 MB / 473.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.3918, allocations: 0.8651 MB / 474.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.3921, allocations: 40.97 kB / 474.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/0.3921, allocations: 51.5 kB / 474.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.687e-06/0.3921, allocations: 0 / 474.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.0107/0.4028, allocations: 4.696 MB / 479.3 MB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.4029, allocations: 60.41 kB / 479.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.4059, allocations: 1.397 MB / 480.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.406, allocations: 41.7 kB / 480.8 MB, free: 5.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009502/0.407, allocations: 0.9189 MB / 481.7 MB, free: 4.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004785/0.4074, allocations: 368.9 kB / 482.1 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.4079, allocations: 222.8 kB / 482.3 MB, free: 3.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4081, allocations: 353.9 kB / 482.6 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.4093, allocations: 0.6311 MB / 483.3 MB, free: 2.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.4107, allocations: 0.922 MB / 484.2 MB, free: 1.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.4133, allocations: 1.649 MB / 485.8 MB, free: 15.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.4134, allocations: 0 / 485.8 MB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004884/0.4182, allocations: 2.383 MB / 488.2 MB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.4183, allocations: 11.98 kB / 488.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.4183, allocations: 11.98 kB / 488.2 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.4204, allocations: 0.7168 MB / 488.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.4213, allocations: 235.6 kB / 489.2 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.4338, allocations: 8.444 MB / 497.6 MB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4351, allocations: 87.86 kB / 497.7 MB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.4353, allocations: 44 kB / 497.7 MB, free: 3.664 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.001371/0.4367, allocations: 0.638 MB / 498.4 MB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.4371, allocations: 147.1 kB / 498.5 MB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.4408, allocations: 1.905 MB / 0.4887 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4408, allocations: 8 kB / 0.4887 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4408, allocations: 4 kB / 0.4887 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4409, allocations: 3.984 kB / 0.4887 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007703/0.4486, allocations: 3.739 MB / 0.4924 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.4486, allocations: 4 kB / 0.4924 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/0.4494, allocations: 184 kB / 0.4926 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.4507, allocations: 462.9 kB / 0.493 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4508, allocations: 31.92 kB / 0.493 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007379/0.4582, allocations: 6.35 MB / 0.4992 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4582, allocations: 0 / 0.4992 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.4631, allocations: 2.78 MB / 0.5019 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000883/0.464, allocations: 286.9 kB / 0.5022 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004047/0.4644, allocations: 27.98 kB / 0.5022 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.4653, allocations: 67.92 kB / 0.5023 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.4656, allocations: 88.77 kB / 0.5024 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.4657, allocations: 32 kB / 0.5024 GB, free: 2.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001853/0.4675, allocations: 0.9625 MB / 0.5034 GB, free: 1.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4675, allocations: 0 / 0.5034 GB, free: 1.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001897/0.4694, allocations: 432 kB / 0.5038 GB, free: 1.008 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.005825/0.4752, allocations: 3.412 MB / 0.5071 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00394/0.4792, allocations: 1.927 MB / 0.509 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.4792, allocations: 4 kB / 0.509 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.4815, allocations: 1.221 MB / 0.5102 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.4841, allocations: 390.2 kB / 0.5106 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/0.517, allocations: 16.4 MB / 0.5266 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/0.519, allocations: 1.122 MB / 0.5277 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.5201, allocations: 316 kB / 0.528 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.5213, allocations: 0.7023 MB / 0.5287 GB, free: 6.891 MB / 446.1 MB Notification: Performance of SimCode: time 1.724e-06/0.5213, allocations: 0 / 0.5287 GB, free: 6.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2821/0.8035, allocations: 42.96 MB / 0.5706 GB, free: 78.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.9/19.71, allocations: 8.062 kB / 0.5706 GB, free: 78.45 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.57029080495704]