Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.4 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 59.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1193, allocations: 53.38 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01231/0.1316, allocations: 9.47 MB / 435.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007429/0.139, allocations: 3.069 MB / 438.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.1408, allocations: 59.62 kB / 439 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.1426, allocations: 0.6678 MB / 439.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.1452, allocations: 0.8078 MB / 440.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.1461, allocations: 363.5 kB / 440.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.1496, allocations: 2.673 MB / 443.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.1517, allocations: 1.534 MB / 445 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.1541, allocations: 1.242 MB / 446.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2757/0.4298, allocations: 1.524 MB / 447.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.4312, allocations: 306.5 kB / 448.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.4328, allocations: 417.7 kB / 448.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008368/0.4336, allocations: 0.8946 MB / 449.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.4353, allocations: 1.409 MB / 450.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006587/0.4419, allocations: 4.119 MB / 454.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.4419, allocations: 4.031 kB / 454.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4419, allocations: 0 / 454.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.442, allocations: 1.219 kB / 454.9 MB, free: 10.31 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.009396/0.4514, allocations: 2.937 MB / 457.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.4515, allocations: 9.406 kB / 457.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006579/0.4521, allocations: 298 kB / 458.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.4536, allocations: 331.7 kB / 458.5 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.4577, allocations: 1.558 MB / 460 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.4579, allocations: 154.6 kB / 460.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.4583, allocations: 210 kB / 460.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00569/0.464, allocations: 2.736 MB / 463.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/0.464, allocations: 3.406 kB / 463.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.4643, allocations: 84.61 kB / 463.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.4644, allocations: 94.95 kB / 463.3 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004474/0.4689, allocations: 2.338 MB / 465.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.4834, allocations: 8.329 MB / 474 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.4856, allocations: 1.706 MB / 475.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.4879, allocations: 1.019 MB / 476.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.4882, allocations: 121 kB / 476.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/0.4883, allocations: 47.8 kB / 476.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.077e-06/0.4883, allocations: 0 / 476.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01562/0.5039, allocations: 6.232 MB / 483.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.504, allocations: 64 kB / 483.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.5069, allocations: 1.525 MB / 484.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.507, allocations: 45.2 kB / 484.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/0.5079, allocations: 1.018 MB / 485.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.5083, allocations: 443.6 kB / 486.2 MB, free: 9.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004741/0.5087, allocations: 251.5 kB / 486.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.509, allocations: 361.5 kB / 486.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.5101, allocations: 0.7247 MB / 487.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.5115, allocations: 1.06 MB / 488.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.5142, allocations: 1.879 MB / 490.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.5142, allocations: 0 / 490.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005072/0.5193, allocations: 2.355 MB / 492.8 MB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.5194, allocations: 8 kB / 492.8 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.5194, allocations: 12 kB / 492.8 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.5205, allocations: 408.7 kB / 493.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.5219, allocations: 329.9 kB / 493.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.5283, allocations: 5.078 MB / 498.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.5302, allocations: 95.8 kB / 498.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/0.5305, allocations: 53.16 kB / 498.7 MB, free: 15.13 MB / 398.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.002164/0.5326, allocations: 0.7066 MB / 499.5 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.5334, allocations: 174.9 kB / 499.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/0.5383, allocations: 2.128 MB / 0.49 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/0.5384, allocations: 15.89 kB / 0.49 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.5384, allocations: 4 kB / 0.49 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.5384, allocations: 3.984 kB / 0.49 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.5511, allocations: 4.568 MB / 0.4945 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.5511, allocations: 8.281 kB / 0.4945 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.5522, allocations: 222.7 kB / 0.4947 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.5536, allocations: 471.8 kB / 0.4951 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.5537, allocations: 35.97 kB / 0.4952 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008244/0.562, allocations: 6.682 MB / 0.5017 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.562, allocations: 0 / 0.5017 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00647/0.5684, allocations: 3.185 MB / 0.5048 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.5698, allocations: 411.9 kB / 0.5052 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000661/0.5705, allocations: 24 kB / 0.5052 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.5719, allocations: 75.91 kB / 0.5053 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.5723, allocations: 112.3 kB / 0.5054 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.5724, allocations: 35.98 kB / 0.5054 GB, free: 11.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002624/0.575, allocations: 1.052 MB / 0.5065 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.575, allocations: 0 / 0.5065 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002508/0.5775, allocations: 464 kB / 0.5069 GB, free: 10.32 MB / 414.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.006458/0.584, allocations: 3.812 MB / 0.5106 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004072/0.588, allocations: 2.197 MB / 0.5128 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.588, allocations: 0 / 0.5128 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.5906, allocations: 1.441 MB / 0.5142 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.5936, allocations: 448 kB / 0.5146 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/0.6273, allocations: 17.49 MB / 0.5317 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/0.6296, allocations: 1.823 MB / 0.5335 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001436/0.631, allocations: 401.6 kB / 0.5339 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/0.6325, allocations: 0.8078 MB / 0.5346 GB, free: 13.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6325, allocations: 0 / 0.5346 GB, free: 13.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/0.7419, allocations: 43.74 MB / 0.5774 GB, free: 2.004 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.95/21.7, allocations: 10.03 kB / 0.5774 GB, free: 2 MB / 478.1 MB " [Timeout remaining time 638] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv","/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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.is[1] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.017888734000735]