Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.88 kB / 373.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1101, allocations: 53.32 MB / 426.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01244/0.1225, allocations: 8.997 MB / 435.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.129, allocations: 2.956 MB / 438.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.1308, allocations: 47.75 kB / 438.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.1332, allocations: 0.6484 MB / 439.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.1362, allocations: 0.7613 MB / 440.1 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1373, allocations: 327.5 kB / 440.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.1405, allocations: 2.371 MB / 442.8 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.1423, allocations: 1.286 MB / 444.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.144, allocations: 1.09 MB / 445.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.1462, allocations: 1.378 MB / 446.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004576/0.1466, allocations: 280 kB / 446.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.1475, allocations: 383.8 kB / 447.2 MB, free: 460 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2275/0.375, allocations: 0.806 MB / 448 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.3769, allocations: 1.26 MB / 449.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.3815, allocations: 3.713 MB / 453 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3815, allocations: 0 / 453 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3815, allocations: 0 / 453 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.3816, allocations: 0 / 453 MB, free: 11.35 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.006264/0.3879, allocations: 2.658 MB / 455.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3879, allocations: 9.516 kB / 455.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003697/0.3883, allocations: 263.2 kB / 455.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.3894, allocations: 308.2 kB / 456.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.3923, allocations: 1.417 MB / 457.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3924, allocations: 133.1 kB / 457.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/0.3928, allocations: 191.6 kB / 457.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/0.3973, allocations: 2.407 MB / 460.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.3974, allocations: 8.062 kB / 460.3 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.3976, allocations: 73.11 kB / 460.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.3977, allocations: 86.47 kB / 460.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.4014, allocations: 2.018 MB / 462.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.4128, allocations: 7.389 MB / 469.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.4144, allocations: 1.21 MB / 471.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.4159, allocations: 0.8665 MB / 472 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.4162, allocations: 130.1 kB / 472.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4162, allocations: 39.66 kB / 472.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.766e-06/0.4162, allocations: 0 / 472.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.00868/0.4249, allocations: 4.916 MB / 477.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4249, allocations: 66.72 kB / 477.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.4271, allocations: 1.39 MB / 478.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.4272, allocations: 42.23 kB / 478.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007612/0.428, allocations: 0.9213 MB / 479.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.4283, allocations: 368.4 kB / 479.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.4287, allocations: 213.5 kB / 480 MB, free: 14.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4289, allocations: 352.6 kB / 480.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4299, allocations: 0.6352 MB / 481 MB, free: 13.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.4312, allocations: 0.9261 MB / 481.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.4334, allocations: 1.648 MB / 483.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4334, allocations: 1.969 kB / 483.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004429/0.4378, allocations: 2.38 MB / 486 MB, free: 10.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.4379, allocations: 13.41 kB / 486 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.4379, allocations: 13.25 kB / 486 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.4396, allocations: 0.7135 MB / 486.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.4404, allocations: 238.4 kB / 486.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.4514, allocations: 8.735 MB / 495.7 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.4529, allocations: 83.8 kB / 495.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.4531, allocations: 48 kB / 495.8 MB, free: 3.598 MB / 382.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.001286/0.4544, allocations: 0.6361 MB / 496.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.4547, allocations: 147.1 kB / 496.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.4582, allocations: 1.895 MB / 498.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.4582, allocations: 12 kB / 498.5 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4582, allocations: 4 kB / 498.5 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4582, allocations: 3.984 kB / 498.5 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007782/0.466, allocations: 4.004 MB / 0.4907 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.466, allocations: 0 / 0.4907 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.4668, allocations: 179.8 kB / 0.4909 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.468, allocations: 469.5 kB / 0.4914 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.4681, allocations: 31.97 kB / 0.4914 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007111/0.4752, allocations: 6.691 MB / 0.4979 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4752, allocations: 3 kB / 0.4979 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/0.48, allocations: 2.777 MB / 0.5006 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.4811, allocations: 368 kB / 0.501 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.4813, allocations: 31.98 kB / 0.501 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007911/0.4821, allocations: 67.92 kB / 0.5011 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.4823, allocations: 79.78 kB / 0.5012 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.4824, allocations: 28 kB / 0.5012 GB, free: 1.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.484, allocations: 0.9625 MB / 0.5021 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.484, allocations: 0 / 0.5021 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001687/0.4857, allocations: 435.9 kB / 0.5025 GB, free: 344 kB / 398.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.005022/0.4907, allocations: 3.4 MB / 0.5059 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.4944, allocations: 1.94 MB / 0.5077 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.587e-06/0.4944, allocations: 4 kB / 0.5078 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/0.4966, allocations: 1.3 MB / 0.509 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.4988, allocations: 386.2 kB / 0.5094 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/0.5268, allocations: 16.38 MB / 0.5254 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.5284, allocations: 1.693 MB / 0.527 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.5294, allocations: 320 kB / 0.5273 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009776/0.5304, allocations: 0.7063 MB / 0.528 GB, free: 5.82 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5304, allocations: 0 / 0.528 GB, free: 5.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09231/0.6227, allocations: 40.38 MB / 0.5675 GB, free: 13.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/18.24, allocations: 14.97 kB / 0.5675 GB, free: 13.82 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.621506941039115]