Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 55.92 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2532, allocations: 53.36 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01174/0.2649, allocations: 9.526 MB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.2712, allocations: 3.073 MB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.2724, allocations: 59.62 kB / 444.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.274, allocations: 0.6678 MB / 445.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.2763, allocations: 0.8195 MB / 446.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.2771, allocations: 363.4 kB / 446.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003116/0.2802, allocations: 2.681 MB / 449.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.2818, allocations: 1.164 MB / 450.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.2836, allocations: 1.223 MB / 451.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.2859, allocations: 1.545 MB / 453 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000474/0.2863, allocations: 308 kB / 453.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.2872, allocations: 415.8 kB / 453.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009094/0.2881, allocations: 0.896 MB / 454.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.2897, allocations: 1.412 MB / 456.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.294, allocations: 4.114 MB / 460.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2941, allocations: 8 kB / 460.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2941, allocations: 0 / 460.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.601e-05/0.2941, allocations: 0 / 460.2 MB, free: 10.42 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00578/0.2999, allocations: 2.857 MB / 463 MB, free: 7.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2999, allocations: 8.031 kB / 463 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.165e-05/0.3, allocations: 56.22 kB / 463.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003942/0.3004, allocations: 303.5 kB / 463.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/0.3014, allocations: 327.1 kB / 463.7 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.3043, allocations: 1.488 MB / 465.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.3044, allocations: 156 kB / 465.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.3048, allocations: 204 kB / 465.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.3093, allocations: 2.732 MB / 468.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/0.3094, allocations: 15.88 kB / 468.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.3096, allocations: 87.98 kB / 468.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.3097, allocations: 99.88 kB / 468.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004104/0.3138, allocations: 2.323 MB / 470.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.3282, allocations: 8.2 MB / 479 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.3302, allocations: 1.245 MB / 480.3 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.3322, allocations: 1.012 MB / 481.3 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.3324, allocations: 48.95 kB / 481.3 MB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.3325, allocations: 47.56 kB / 481.4 MB, free: 4.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.517e-06/0.3325, allocations: 0 / 481.4 MB, free: 4.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01322/0.3457, allocations: 5.935 MB / 487.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3457, allocations: 64.41 kB / 487.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.348, allocations: 1.529 MB / 488.9 MB, free: 13.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.3481, allocations: 45.7 kB / 488.9 MB, free: 13.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/0.3489, allocations: 1.021 MB / 490 MB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.3493, allocations: 428.4 kB / 490.4 MB, free: 11.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.3497, allocations: 251.5 kB / 490.6 MB, free: 11.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3499, allocations: 361.9 kB / 491 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.3511, allocations: 0.73 MB / 491.7 MB, free: 10.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3525, allocations: 1.055 MB / 492.8 MB, free: 9.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.3551, allocations: 1.879 MB / 494.6 MB, free: 7.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3551, allocations: 3.938 kB / 494.6 MB, free: 7.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003993/0.3591, allocations: 2.358 MB / 497 MB, free: 4.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3591, allocations: 8 kB / 497 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3591, allocations: 8 kB / 497 MB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/0.3601, allocations: 419.4 kB / 497.4 MB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.3613, allocations: 323.5 kB / 497.7 MB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005293/0.3666, allocations: 4.877 MB / 0.4908 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3678, allocations: 91.86 kB / 0.4909 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.3679, allocations: 55.98 kB / 0.491 GB, free: 14.77 MB / 414.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.001199/0.3691, allocations: 0.7082 MB / 0.4917 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.3694, allocations: 166.9 kB / 0.4918 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.373, allocations: 2.133 MB / 0.4939 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.373, allocations: 12 kB / 0.4939 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.373, allocations: 4 kB / 0.4939 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.373, allocations: 7.969 kB / 0.4939 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007952/0.381, allocations: 4.541 MB / 0.4984 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.381, allocations: 4 kB / 0.4984 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/0.382, allocations: 223.7 kB / 0.4986 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.3832, allocations: 463.1 kB / 0.499 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.3833, allocations: 35.92 kB / 0.4991 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006943/0.3902, allocations: 6.373 MB / 0.5053 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3902, allocations: 7.969 kB / 0.5053 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.3955, allocations: 3.181 MB / 0.5084 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.3966, allocations: 330.8 kB / 0.5087 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.3969, allocations: 31.98 kB / 0.5087 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.3977, allocations: 75.91 kB / 0.5088 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.398, allocations: 112.7 kB / 0.5089 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.641e-05/0.3981, allocations: 35.94 kB / 0.509 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00166/0.3998, allocations: 1.06 MB / 0.51 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3998, allocations: 0 / 0.51 GB, free: 10.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001538/0.4013, allocations: 460 kB / 0.5104 GB, free: 10.29 MB / 430.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.005452/0.4067, allocations: 3.822 MB / 0.5142 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.4103, allocations: 2.049 MB / 0.5162 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4103, allocations: 0.5625 kB / 0.5162 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.4126, allocations: 1.362 MB / 0.5175 GB, free: 2.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.4146, allocations: 449 kB / 0.5179 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/0.441, allocations: 17.5 MB / 0.535 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1926/0.6336, allocations: 1.826 MB / 0.5368 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001322/0.6349, allocations: 402.5 kB / 0.5372 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009568/0.6359, allocations: 0.8035 MB / 0.538 GB, free: 102.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6359, allocations: 2.531 kB / 0.538 GB, free: 102.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07324/0.7091, allocations: 44.87 MB / 0.5818 GB, free: 66.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.57/22.28, allocations: 3.234 kB / 0.5818 GB, free: 66.88 MB / 446.1 MB " [Timeout remaining time 638] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 28.584686112997588]