Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001575/0.001575, allocations: 122.1 kB / 17.78 MB, free: 5.121 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.001846/0.001846, allocations: 189.2 kB / 20.73 MB, free: 2.184 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.412/1.412, allocations: 225.6 MB / 249.1 MB, free: 3.641 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_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 55.91 kB / 365.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1007, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01284/0.1135, allocations: 9.431 MB / 427.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005923/0.1194, allocations: 2.983 MB / 430.2 MB, free: 160 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.1209, allocations: 51.75 kB / 430.3 MB, free: 108 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.1228, allocations: 0.6678 MB / 430.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.1255, allocations: 0.8039 MB / 431.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.1263, allocations: 343.5 kB / 432.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003852/0.1302, allocations: 2.661 MB / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.1324, allocations: 1.534 MB / 436.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.1343, allocations: 1.199 MB / 437.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.137, allocations: 1.526 MB / 439 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005798/0.1376, allocations: 308 kB / 439.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009096/0.1385, allocations: 403.8 kB / 439.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000928/0.1394, allocations: 0.8998 MB / 440.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.1412, allocations: 1.408 MB / 442 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.146, allocations: 4.087 MB / 446.1 MB, free: 172 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.146, allocations: 0 / 446.1 MB, free: 172 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.146, allocations: 4 kB / 446.1 MB, free: 168 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.402e-05/0.1461, allocations: 0 / 446.1 MB, free: 168 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.2111/0.3572, allocations: 2.913 MB / 449 MB, free: 28.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3573, allocations: 9.531 kB / 449 MB, free: 28.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004279/0.3577, allocations: 302.4 kB / 449.3 MB, free: 28.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.3585, allocations: 301.6 kB / 449.6 MB, free: 28.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.3615, allocations: 1.536 MB / 451.1 MB, free: 28.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3616, allocations: 159.2 kB / 451.3 MB, free: 28.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.3619, allocations: 203.3 kB / 451.5 MB, free: 28.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00519/0.3671, allocations: 2.734 MB / 454.2 MB, free: 27.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.3672, allocations: 9.156 kB / 454.2 MB, free: 27.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.3674, allocations: 83.16 kB / 454.3 MB, free: 27.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.3676, allocations: 94.08 kB / 454.4 MB, free: 27.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004568/0.3722, allocations: 2.329 MB / 456.7 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.3879, allocations: 8.332 MB / 465.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.39, allocations: 1.715 MB / 466.8 MB, free: 21.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.3919, allocations: 1.012 MB / 467.8 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.3922, allocations: 123.4 kB / 467.9 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3922, allocations: 48.3 kB / 468 MB, free: 20.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 4.349e-06/0.3922, allocations: 0 / 468 MB, free: 20.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01225/0.4044, allocations: 6.226 MB / 474.2 MB, free: 16.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4045, allocations: 67.72 kB / 474.2 MB, free: 16.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.4067, allocations: 1.509 MB / 475.8 MB, free: 16.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.4069, allocations: 47.36 kB / 475.8 MB, free: 16.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/0.4074, allocations: 1.009 MB / 476.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.4077, allocations: 442.8 kB / 477.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.4081, allocations: 251.5 kB / 477.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.4082, allocations: 361.1 kB / 477.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.4092, allocations: 0.7327 MB / 478.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.4102, allocations: 1.054 MB / 479.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.4124, allocations: 1.88 MB / 481.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4124, allocations: 3.969 kB / 481.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00376/0.4162, allocations: 2.348 MB / 483.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.4162, allocations: 17.16 kB / 483.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.4162, allocations: 8 kB / 483.9 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008815/0.4171, allocations: 407.1 kB / 484.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4183, allocations: 335.5 kB / 484.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.4222, allocations: 5.068 MB / 489.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.4238, allocations: 91.86 kB / 489.8 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.424, allocations: 55.98 kB / 489.8 MB, free: 3.648 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001178/0.4251, allocations: 0.7016 MB / 490.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.4256, allocations: 171 kB / 490.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.4287, allocations: 2.138 MB / 492.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4287, allocations: 12 kB / 492.8 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4287, allocations: 0 / 492.8 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4287, allocations: 3.984 kB / 492.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008901/0.4376, allocations: 4.555 MB / 497.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.4376, allocations: 4 kB / 497.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.4386, allocations: 227.9 kB / 497.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.4399, allocations: 465.7 kB / 498.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.44, allocations: 31.98 kB / 498.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007498/0.4475, allocations: 6.687 MB / 0.493 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4475, allocations: 3.938 kB / 0.493 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/0.4531, allocations: 3.192 MB / 0.4961 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.4544, allocations: 403.9 kB / 0.4965 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.4547, allocations: 27.98 kB / 0.4965 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/0.4556, allocations: 75.91 kB / 0.4966 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.4559, allocations: 108.8 kB / 0.4967 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/0.456, allocations: 42.08 kB / 0.4967 GB, free: 228 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.4577, allocations: 1.048 MB / 0.4977 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4577, allocations: 0 / 0.4977 GB, free: 15.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001742/0.4594, allocations: 456 kB / 0.4982 GB, free: 14.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.006005/0.4654, allocations: 3.815 MB / 0.5019 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.4694, allocations: 2.194 MB / 0.504 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.4694, allocations: 1.875 kB / 0.504 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.4719, allocations: 1.437 MB / 0.5054 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.4741, allocations: 442.5 kB / 0.5059 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/0.505, allocations: 17.43 MB / 0.5229 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.5068, allocations: 1.826 MB / 0.5247 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.5081, allocations: 393.5 kB / 0.525 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.5093, allocations: 0.7922 MB / 0.5258 GB, free: 1.656 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5093, allocations: 0 / 0.5258 GB, free: 1.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/0.6374, allocations: 43.54 MB / 0.5683 GB, free: 6.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.38/21.01, allocations: 12.05 kB / 0.5684 GB, free: 6.508 MB / 462.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 25.606997697148472]