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.001353/0.001353, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001554/0.001554, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.961 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 55.91 kB / 377.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2661, allocations: 53.35 MB / 431.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01266/0.2787, allocations: 9.534 MB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006324/0.2851, allocations: 3.061 MB / 443.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.2865, allocations: 59.62 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.2885, allocations: 0.6678 MB / 444.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.2913, allocations: 0.8234 MB / 445.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.2924, allocations: 375.3 kB / 445.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004132/0.2965, allocations: 2.673 MB / 448.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.2989, allocations: 1.164 MB / 449.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.3014, allocations: 1.23 MB / 450.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.3045, allocations: 1.537 MB / 452.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009212/0.3054, allocations: 308 kB / 452.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.3068, allocations: 419.8 kB / 453 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.3082, allocations: 0.8921 MB / 453.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.3104, allocations: 1.419 MB / 455.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005348/0.3157, allocations: 4.119 MB / 459.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3157, allocations: 0 / 459.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3157, allocations: 0 / 459.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.867e-05/0.3158, allocations: 0 / 459.4 MB, free: 10.39 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.006564/0.3224, allocations: 2.861 MB / 462.3 MB, free: 7.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3224, allocations: 8.031 kB / 462.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004139/0.3229, allocations: 295.5 kB / 462.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.324, allocations: 331.1 kB / 462.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.3272, allocations: 1.492 MB / 464.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.3274, allocations: 152.2 kB / 464.5 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003837/0.3278, allocations: 207.9 kB / 464.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.3327, allocations: 2.736 MB / 467.5 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/0.3328, allocations: 3.953 kB / 467.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.333, allocations: 87.94 kB / 467.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.3331, allocations: 99.92 kB / 467.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/0.3373, allocations: 2.326 MB / 470 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.352, allocations: 8.193 MB / 478.2 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.3542, allocations: 1.25 MB / 479.4 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.3562, allocations: 1.011 MB / 480.4 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.3564, allocations: 44.97 kB / 480.5 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.3565, allocations: 47.56 kB / 480.5 MB, free: 4.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.3565, allocations: 0 / 480.5 MB, free: 4.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01348/0.37, allocations: 5.938 MB / 486.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.37, allocations: 64.41 kB / 486.5 MB, free: 14.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.3724, allocations: 1.525 MB / 488 MB, free: 13.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.3726, allocations: 45.7 kB / 488.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008848/0.3734, allocations: 1.021 MB / 489.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.3739, allocations: 436.3 kB / 489.5 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.3743, allocations: 251.5 kB / 489.8 MB, free: 11.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3745, allocations: 361.9 kB / 490.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3757, allocations: 0.73 MB / 490.9 MB, free: 10.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.3772, allocations: 1.059 MB / 491.9 MB, free: 9.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.3799, allocations: 1.879 MB / 493.8 MB, free: 7.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3799, allocations: 4 kB / 493.8 MB, free: 7.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004127/0.384, allocations: 2.354 MB / 496.2 MB, free: 4.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.384, allocations: 8 kB / 496.2 MB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.3841, allocations: 8 kB / 496.2 MB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3851, allocations: 423 kB / 496.6 MB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.3864, allocations: 331.5 kB / 496.9 MB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005849/0.3922, allocations: 4.864 MB / 0.49 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.3936, allocations: 91.86 kB / 0.4901 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.3938, allocations: 52 kB / 0.4902 GB, free: 14.8 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.001481/0.3952, allocations: 0.7082 MB / 0.4908 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004972/0.3957, allocations: 170.9 kB / 0.491 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.3999, allocations: 2.137 MB / 0.4931 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.3999, allocations: 12 kB / 0.4931 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.3999, allocations: 0 / 0.4931 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.3999, allocations: 7.984 kB / 0.4931 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/0.4095, allocations: 4.534 MB / 0.4975 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.4095, allocations: 7.938 kB / 0.4976 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.4105, allocations: 223.7 kB / 0.4978 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.4118, allocations: 469.7 kB / 0.4982 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.4119, allocations: 35.98 kB / 0.4982 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007424/0.4194, allocations: 6.374 MB / 0.5045 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4194, allocations: 8.031 kB / 0.5045 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.4252, allocations: 3.185 MB / 0.5076 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.4264, allocations: 334.8 kB / 0.5079 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/0.4268, allocations: 31.98 kB / 0.5079 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.4278, allocations: 75.92 kB / 0.508 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.4281, allocations: 112.7 kB / 0.5081 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.4282, allocations: 35.98 kB / 0.5082 GB, free: 11.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.4302, allocations: 1.056 MB / 0.5092 GB, free: 10.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4302, allocations: 0 / 0.5092 GB, free: 10.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001744/0.432, allocations: 460 kB / 0.5096 GB, free: 10.32 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.006086/0.4381, allocations: 3.823 MB / 0.5134 GB, free: 6.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003956/0.442, allocations: 2.049 MB / 0.5154 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.442, allocations: 4.562 kB / 0.5154 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.4445, allocations: 1.362 MB / 0.5167 GB, free: 2.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.4469, allocations: 437.9 kB / 0.5171 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/0.4789, allocations: 17.5 MB / 0.5342 GB, free: 464 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2016/0.6805, allocations: 1.83 MB / 0.536 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.6817, allocations: 401.6 kB / 0.5364 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009681/0.6827, allocations: 0.808 MB / 0.5372 GB, free: 102.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6827, allocations: 0 / 0.5372 GB, free: 102.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08722/0.7699, allocations: 44.84 MB / 0.5809 GB, free: 66.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.13/22.9, allocations: 11.38 kB / 0.581 GB, free: 66.63 MB / 446.1 MB " [Timeout remaining time 637] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.495684863999486]