Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001297/0.001297, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001351/0.001351, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.394/1.394, allocations: 225.6 MB / 249.1 MB, free: 3.613 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_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 51.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09787, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01165/0.1095, allocations: 9.743 MB / 427.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.1151, allocations: 3.026 MB / 430.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008312/0.1159, allocations: 51.81 kB / 430.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.1174, allocations: 0.66 MB / 431.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.1192, allocations: 0.7843 MB / 432.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.1199, allocations: 367.5 kB / 432.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.1225, allocations: 2.434 MB / 434.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.1241, allocations: 1.271 MB / 436.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.1255, allocations: 1.086 MB / 437.2 MB, free: 9.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.1271, allocations: 1.339 MB / 438.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.1275, allocations: 280 kB / 438.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.1282, allocations: 375.8 kB / 439.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007587/0.1289, allocations: 0.779 MB / 440 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.1302, allocations: 1.268 MB / 441.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.1339, allocations: 3.647 MB / 444.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1339, allocations: 8 kB / 444.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1339, allocations: 0 / 444.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.02e-05/0.134, allocations: 3.938 kB / 444.9 MB, free: 1.34 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.1787/0.3126, allocations: 2.636 MB / 447.5 MB, free: 28.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3127, allocations: 12.03 kB / 447.6 MB, free: 28.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003571/0.313, allocations: 274 kB / 447.8 MB, free: 28.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.3138, allocations: 275.2 kB / 448.1 MB, free: 28.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.3162, allocations: 1.363 MB / 449.4 MB, free: 28.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/0.3163, allocations: 148.1 kB / 449.6 MB, free: 28.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.3165, allocations: 192 kB / 449.8 MB, free: 28.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004048/0.3206, allocations: 2.418 MB / 452.2 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.345e-05/0.3206, allocations: 8.859 kB / 452.2 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.3208, allocations: 75.39 kB / 452.3 MB, free: 27.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.3209, allocations: 90.03 kB / 452.4 MB, free: 27.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.3243, allocations: 1.962 MB / 454.3 MB, free: 27.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.3379, allocations: 7.783 MB / 462.1 MB, free: 22.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3394, allocations: 1.159 MB / 463.3 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.3412, allocations: 0.9107 MB / 464.2 MB, free: 22.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.3414, allocations: 125.6 kB / 464.3 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3414, allocations: 45.27 kB / 464.4 MB, free: 21.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.885e-06/0.3414, allocations: 0 / 464.4 MB, free: 21.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01303/0.3545, allocations: 5.888 MB / 470.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3545, allocations: 62.94 kB / 470.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.3565, allocations: 1.304 MB / 471.6 MB, free: 18.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.3567, allocations: 41.98 kB / 471.6 MB, free: 18.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.3572, allocations: 0.9411 MB / 472.6 MB, free: 17.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.3575, allocations: 413.7 kB / 473 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/0.3578, allocations: 247.3 kB / 473.2 MB, free: 16.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.3579, allocations: 363.6 kB / 473.6 MB, free: 16.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009178/0.3588, allocations: 0.6377 MB / 474.2 MB, free: 16.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/0.3597, allocations: 1.001 MB / 475.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.362, allocations: 1.734 MB / 477 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.362, allocations: 2.531 kB / 477 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003725/0.3657, allocations: 2.246 MB / 479.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.3657, allocations: 11.78 kB / 479.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.3657, allocations: 11.84 kB / 479.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.3669, allocations: 496.5 kB / 479.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/0.3679, allocations: 300.5 kB / 480 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/0.3735, allocations: 7.129 MB / 487.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.3749, allocations: 91.86 kB / 487.2 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.375, allocations: 56 kB / 487.3 MB, free: 5.836 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009238/0.3759, allocations: 0.6066 MB / 487.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.3762, allocations: 154.7 kB / 488 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.3789, allocations: 1.953 MB / 490 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3789, allocations: 12 kB / 490 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.379, allocations: 8 kB / 490 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.379, allocations: 3.984 kB / 490 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006213/0.3852, allocations: 4.111 MB / 494.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3852, allocations: 6.875 kB / 494.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/0.386, allocations: 179.8 kB / 494.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.3875, allocations: 0.5397 MB / 494.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.148e-05/0.3875, allocations: 31.92 kB / 494.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009464/0.397, allocations: 8.764 MB / 0.4918 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.397, allocations: 4 kB / 0.4918 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/0.4017, allocations: 2.85 MB / 0.4946 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009986/0.4027, allocations: 360 kB / 0.495 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.4029, allocations: 24.12 kB / 0.495 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.4037, allocations: 71.92 kB / 0.4951 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.404, allocations: 88.91 kB / 0.4952 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.4041, allocations: 35.92 kB / 0.4952 GB, free: 1.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.4055, allocations: 0.8922 MB / 0.4961 GB, free: 420 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4055, allocations: 4 kB / 0.4961 GB, free: 416 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001786/0.4072, allocations: 440 kB / 0.4965 GB, free: 15.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.005234/0.4125, allocations: 3.48 MB / 0.4999 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.4162, allocations: 2.158 MB / 0.502 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4162, allocations: 4 kB / 0.502 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002541/0.4187, allocations: 1.459 MB / 0.5034 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.421, allocations: 400 kB / 0.5038 GB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/0.4483, allocations: 15.67 MB / 0.5191 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.4497, allocations: 1.658 MB / 0.5207 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4507, allocations: 316.8 kB / 0.521 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009144/0.4516, allocations: 0.7219 MB / 0.5217 GB, free: 5.355 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4516, allocations: 0 / 0.5217 GB, free: 5.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09178/0.5434, allocations: 39.8 MB / 0.5606 GB, free: 13.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.57/20.11, allocations: 16.33 kB / 0.5606 GB, free: 13.95 MB / 462.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 23.71927926875651]