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.0009015/0.0009015, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008674/0.0008674, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9093/0.9093, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 3.938 kB / 318.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.234e-05, allocations: 2.281 kB / 318.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007662/0.007684, allocations: 8.591 MB / 327.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.01237, allocations: 2.859 MB / 329.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008733/0.01324, allocations: 59.62 kB / 330 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.01443, allocations: 0.6247 MB / 330.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.01646, allocations: 0.8186 MB / 331.4 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.01709, allocations: 383.2 kB / 331.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.01928, allocations: 2.513 MB / 334.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.0206, allocations: 0.9937 MB / 335.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.02258, allocations: 1.618 MB / 336.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.02374, allocations: 1.107 MB / 338 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.02398, allocations: 280 kB / 338.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.02444, allocations: 367.8 kB / 338.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005072/0.02495, allocations: 0.814 MB / 339.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008398/0.02579, allocations: 0.8691 MB / 340.3 MB, free: 344 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.02826, allocations: 3.688 MB / 344 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.02827, allocations: 0 / 344 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.02827, allocations: 0 / 344 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-05/0.02832, allocations: 4 kB / 344 MB, free: 12.63 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.0031/0.03142, allocations: 2.541 MB / 346.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/0.03148, allocations: 12.92 kB / 346.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.03175, allocations: 278.6 kB / 346.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/0.03225, allocations: 271.4 kB / 347.1 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.03412, allocations: 1.285 MB / 348.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/0.03421, allocations: 148.2 kB / 348.5 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.0344, allocations: 196.3 kB / 348.7 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.0372, allocations: 2.523 MB / 351.3 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.03724, allocations: 4 kB / 351.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.03736, allocations: 76 kB / 351.3 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-05/0.03743, allocations: 91.62 kB / 351.4 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.03984, allocations: 1.955 MB / 353.4 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007787/0.04763, allocations: 7.041 MB / 360.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.04871, allocations: 1.011 MB / 361.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.05001, allocations: 0.9084 MB / 362.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.05017, allocations: 52.88 kB / 362.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.0502, allocations: 43.56 kB / 362.4 MB, free: 9.801 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 3.316e-06/0.05021, allocations: 4 kB / 362.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.00762/0.05783, allocations: 5.494 MB / 367.9 MB, free: 4.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.05787, allocations: 64.41 kB / 368 MB, free: 4.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.05943, allocations: 1.313 MB / 369.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.05949, allocations: 45.7 kB / 369.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.05993, allocations: 0.9457 MB / 370.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.06013, allocations: 400.6 kB / 370.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.06039, allocations: 247.5 kB / 370.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.06049, allocations: 365.9 kB / 371.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.06115, allocations: 0.648 MB / 371.9 MB, free: 204 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.06195, allocations: 0.9967 MB / 372.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.0635, allocations: 1.731 MB / 374.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.0635, allocations: 4 kB / 374.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002641/0.06614, allocations: 2.246 MB / 376.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.06616, allocations: 11.94 kB / 376.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.06618, allocations: 12 kB / 376.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007275/0.06691, allocations: 492.1 kB / 377.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.06751, allocations: 303.5 kB / 377.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/0.07233, allocations: 6.778 MB / 384.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.073, allocations: 83.98 kB / 384.6 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.07306, allocations: 59.98 kB / 384.6 MB, free: 2.828 MB / 346.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.000741/0.07381, allocations: 0.6026 MB / 385.2 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.07397, allocations: 155 kB / 385.4 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.07611, allocations: 1.949 MB / 387.3 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.07612, allocations: 16 kB / 387.4 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.07612, allocations: 4 kB / 387.4 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.07613, allocations: 3.984 kB / 387.4 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/0.08069, allocations: 3.862 MB / 391.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.0807, allocations: 64 / 391.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.08115, allocations: 192 kB / 391.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008395/0.08199, allocations: 0.5428 MB / 392 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.08204, allocations: 27.98 kB / 392 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/0.08788, allocations: 8.281 MB / 400.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.08789, allocations: 7.969 kB / 400.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.09104, allocations: 2.844 MB / 403.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/0.09161, allocations: 278.9 kB / 403.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.09173, allocations: 35.98 kB / 403.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.09216, allocations: 63.92 kB / 403.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.09236, allocations: 88.83 kB / 403.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.09241, allocations: 35.92 kB / 403.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001328/0.09374, allocations: 0.8917 MB / 404.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09374, allocations: 0 / 404.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001149/0.09488, allocations: 439.9 kB / 404.9 MB, free: 13.87 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.003472/0.09836, allocations: 3.468 MB / 408.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002606/0.101, allocations: 2.007 MB / 410.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.101, allocations: 0 / 410.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.1027, allocations: 1.38 MB / 411.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.1042, allocations: 415.7 kB / 412.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/0.1229, allocations: 15.56 MB / 427.7 MB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/0.1238, allocations: 1.069 MB / 428.8 MB, free: 5.219 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008229/0.1246, allocations: 328.8 kB / 429.1 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/0.1253, allocations: 0.7151 MB / 429.9 MB, free: 4.176 MB / 394.7 MB Notification: Performance of SimCode: time 2.284e-06/0.1253, allocations: 0 / 429.9 MB, free: 4.176 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2136/0.3389, allocations: 42.59 MB / 472.4 MB, free: 105.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.552, allocations: 10.2 kB / 472.4 MB, free: 105.4 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.007434357888997]