Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001206/0.001206, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001175/0.001175, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8911/0.8911, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.66e-05, allocations: 3.125 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007337/0.007364, allocations: 8.647 MB / 333.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004157/0.01152, allocations: 2.937 MB / 336.1 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007012/0.01222, allocations: 59.62 kB / 336.2 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.01326, allocations: 0.6208 MB / 336.8 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.01452, allocations: 0.8264 MB / 337.6 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.01498, allocations: 387.4 kB / 338 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.01672, allocations: 2.539 MB / 340.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/0.01765, allocations: 1.005 MB / 341.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.01918, allocations: 1.614 MB / 343.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.02027, allocations: 1.118 MB / 344.3 MB, free: 12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.02052, allocations: 280 kB / 344.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.02091, allocations: 383.7 kB / 344.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.02135, allocations: 0.8023 MB / 345.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006582/0.02201, allocations: 0.8808 MB / 346.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.02425, allocations: 3.704 MB / 350.3 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.02425, allocations: 0 / 350.3 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02425, allocations: 0 / 350.3 MB, free: 5.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.233e-05/0.02432, allocations: 0 / 350.3 MB, free: 5.945 MB / 314.7 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.002949/0.02726, allocations: 2.552 MB / 352.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.0273, allocations: 11.98 kB / 352.9 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.02753, allocations: 290.5 kB / 353.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/0.02797, allocations: 279.4 kB / 353.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.02935, allocations: 1.293 MB / 354.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.02942, allocations: 144.2 kB / 354.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.02959, allocations: 188.3 kB / 355 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.03193, allocations: 2.523 MB / 357.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.03197, allocations: 8 kB / 357.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.03208, allocations: 79.94 kB / 357.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/0.03214, allocations: 91.67 kB / 357.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.03415, allocations: 1.959 MB / 359.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006433/0.04058, allocations: 7.053 MB / 366.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.04163, allocations: 1.006 MB / 367.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.0427, allocations: 0.9093 MB / 368.7 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.04284, allocations: 48.97 kB / 368.7 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.04286, allocations: 39.56 kB / 368.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 1.923e-06/0.04286, allocations: 0 / 368.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.008347/0.05121, allocations: 5.502 MB / 374.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.05125, allocations: 72.33 kB / 374.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.0526, allocations: 1.322 MB / 375.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.05267, allocations: 45.7 kB / 375.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.05311, allocations: 0.9459 MB / 376.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.05333, allocations: 404.6 kB / 377 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.05358, allocations: 247.5 kB / 377.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.05382, allocations: 365.8 kB / 377.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/0.05446, allocations: 0.6364 MB / 378.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/0.05522, allocations: 1.005 MB / 379.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.05669, allocations: 1.735 MB / 381 MB, free: 6.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.0567, allocations: 0 / 381 MB, free: 6.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002443/0.05914, allocations: 2.246 MB / 383.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.05917, allocations: 11.94 kB / 383.3 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.05918, allocations: 12 kB / 383.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007368/0.05992, allocations: 496.2 kB / 383.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.06051, allocations: 303.5 kB / 384.1 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/0.06536, allocations: 6.766 MB / 390.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.06632, allocations: 83.92 kB / 390.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.06639, allocations: 55.98 kB / 391 MB, free: 12.08 MB / 362.7 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.000821/0.06721, allocations: 0.6069 MB / 391.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.06743, allocations: 155 kB / 391.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.06958, allocations: 1.953 MB / 393.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.06959, allocations: 12 kB / 393.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.0696, allocations: 8.125 kB / 393.7 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.06961, allocations: 7.984 kB / 393.7 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.07415, allocations: 3.866 MB / 397.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.07416, allocations: 4 kB / 397.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.07462, allocations: 183.8 kB / 397.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008808/0.0755, allocations: 0.5351 MB / 398.3 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.07556, allocations: 35.92 kB / 398.3 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/0.08083, allocations: 8.275 MB / 406.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.08083, allocations: 8 kB / 406.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.08382, allocations: 2.856 MB / 409.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.08437, allocations: 282.9 kB / 409.7 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.08447, allocations: 24.06 kB / 409.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.08487, allocations: 71.92 kB / 409.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.08505, allocations: 88.77 kB / 409.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.0851, allocations: 35.98 kB / 410 MB, free: 8.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008934/0.08599, allocations: 0.8958 MB / 410.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.08599, allocations: 0 / 410.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001074/0.08706, allocations: 440 kB / 411.3 MB, free: 7.094 MB / 378.7 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.00322/0.09028, allocations: 3.479 MB / 414.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.09257, allocations: 2 MB / 416.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.09257, allocations: 0 / 416.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.09386, allocations: 1.38 MB / 418.1 MB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.09527, allocations: 421.8 kB / 418.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.1136, allocations: 15.58 MB / 434.1 MB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/0.1144, allocations: 1.069 MB / 435.2 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006696/0.1151, allocations: 324.8 kB / 435.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/0.1157, allocations: 0.719 MB / 436.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.1157, allocations: 0 / 436.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1988/0.3145, allocations: 42.75 MB / 479 MB, free: 93.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/8.91, allocations: 3.984 kB / 479 MB, free: 93.91 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 11.507446098141372]