Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001734/0.001734, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002116/0.002116, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 51.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.254, allocations: 49.16 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009548/0.2636, allocations: 8.963 MB / 405.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007018/0.2706, allocations: 3.11 MB / 408.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.2729, allocations: 70.03 kB / 408.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.2751, allocations: 0.6976 MB / 409.2 MB, free: 416 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.2785, allocations: 0.88 MB / 410.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.2799, allocations: 416.2 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.2843, allocations: 2.97 MB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.287, allocations: 1.308 MB / 414.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.2896, allocations: 1.379 MB / 416.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.2936, allocations: 1.651 MB / 417.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.2952, allocations: 354.2 kB / 418.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.2975, allocations: 451.7 kB / 418.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.2994, allocations: 1.033 MB / 419.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004658/0.3041, allocations: 1.297 MB / 420.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009502/0.3136, allocations: 4.72 MB / 425.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3136, allocations: 3.938 kB / 425.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3136, allocations: 4 kB / 425.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000214/0.3138, allocations: 0 / 425.6 MB, free: 5.711 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008742/0.3225, allocations: 3.26 MB / 428.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3226, allocations: 15.98 kB / 428.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005558/0.3231, allocations: 333.6 kB / 429.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008384/0.324, allocations: 350.9 kB / 429.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.3271, allocations: 1.588 MB / 431.2 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.3273, allocations: 184.7 kB / 431.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/0.3277, allocations: 235.9 kB / 431.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/0.3329, allocations: 3.233 MB / 434.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/0.333, allocations: 4 kB / 434.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.3332, allocations: 92 kB / 434.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.3333, allocations: 112.5 kB / 435 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004716/0.338, allocations: 2.692 MB / 437.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01626/0.3543, allocations: 8.742 MB / 446.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.3568, allocations: 1.411 MB / 447.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.3587, allocations: 1.043 MB / 448.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.3589, allocations: 60.95 kB / 449 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.3589, allocations: 43.56 kB / 449 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.887e-06/0.3589, allocations: 0 / 449 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01408/0.373, allocations: 6.277 MB / 455.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3731, allocations: 64.72 kB / 455.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.3757, allocations: 1.77 MB / 457.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.3758, allocations: 45.7 kB / 457.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009174/0.3767, allocations: 1.197 MB / 458.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.3771, allocations: 472 kB / 458.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/0.3776, allocations: 287.5 kB / 459.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3777, allocations: 301.1 kB / 459.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.379, allocations: 0.7886 MB / 460.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.3806, allocations: 1.202 MB / 461.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.3836, allocations: 2.095 MB / 463.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3836, allocations: 4 kB / 463.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004435/0.388, allocations: 2.596 MB / 466.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.388, allocations: 12 kB / 466.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.3881, allocations: 16 kB / 466.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009553/0.389, allocations: 431.3 kB / 466.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.3903, allocations: 355.4 kB / 466.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007158/0.3974, allocations: 6.724 MB / 473.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.399, allocations: 103.8 kB / 473.7 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.3991, allocations: 64 kB / 473.8 MB, free: 4.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001538/0.4007, allocations: 0.7978 MB / 474.6 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.4011, allocations: 194.8 kB / 474.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.4051, allocations: 2.288 MB / 477 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4052, allocations: 19.94 kB / 477.1 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4052, allocations: 4 kB / 477.1 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4052, allocations: 11.97 kB / 477.1 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009522/0.4147, allocations: 4.722 MB / 481.8 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.4147, allocations: 4 kB / 481.8 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009759/0.4157, allocations: 231.7 kB / 482 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.4169, allocations: 451.8 kB / 482.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.417, allocations: 35.97 kB / 482.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00851/0.4255, allocations: 8.171 MB / 490.7 MB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4255, allocations: 7.938 kB / 490.7 MB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/0.4312, allocations: 3.447 MB / 494.1 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.4324, allocations: 366.6 kB / 494.5 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.4326, allocations: 39.98 kB / 494.5 MB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.4336, allocations: 83.91 kB / 494.6 MB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.4338, allocations: 124.7 kB / 494.7 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/0.4339, allocations: 44.08 kB / 494.8 MB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001882/0.4358, allocations: 1.194 MB / 496 MB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4358, allocations: 0 / 496 MB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001841/0.4376, allocations: 0.5077 MB / 496.5 MB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.006046/0.4437, allocations: 4.091 MB / 0.4888 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004261/0.448, allocations: 2.312 MB / 0.4911 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.448, allocations: 7.938 kB / 0.4911 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.4505, allocations: 1.559 MB / 0.4926 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.453, allocations: 486.2 kB / 0.4931 GB, free: 4.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03062/0.4836, allocations: 19.38 MB / 0.512 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.4854, allocations: 1.431 MB / 0.5134 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001287/0.4867, allocations: 443.5 kB / 0.5138 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.488, allocations: 0.921 MB / 0.5147 GB, free: 13.31 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.488, allocations: 0 / 0.5147 GB, free: 13.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2762/0.7642, allocations: 51.21 MB / 0.5647 GB, free: 149.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.81, allocations: 4.781 kB / 0.5648 GB, free: 149.7 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv failed! Error: Could not read variable smr.idq_rr[1] in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv. Warning: Get data of variable smr.idq_rr[1] from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv failed! Error: Could not read variable smr.idq_rr[2] in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv. Warning: Get data of variable smr.idq_rr[2] from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.451309727039188]