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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3164, allocations: 50.55 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0112/0.3276, allocations: 9.43 MB / 418.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006429/0.3341, allocations: 3.045 MB / 421.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.3358, allocations: 47.81 kB / 421.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.3381, allocations: 0.6678 MB / 422 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.341, allocations: 0.8078 MB / 422.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3424, allocations: 363.5 kB / 423.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.3462, allocations: 2.669 MB / 425.8 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002912/0.3491, allocations: 2.147 MB / 427.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.3511, allocations: 1.207 MB / 429.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.3535, allocations: 1.495 MB / 430.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007974/0.3543, allocations: 308 kB / 430.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.3556, allocations: 411.8 kB / 431.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.3568, allocations: 0.8921 MB / 432.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.3588, allocations: 1.416 MB / 433.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.363, allocations: 4.11 MB / 437.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3631, allocations: 3.984 kB / 437.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3631, allocations: 0 / 437.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.834e-05/0.3632, allocations: 0 / 437.8 MB, free: 4.402 MB / 350.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.005756/0.3689, allocations: 2.936 MB / 440.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.369, allocations: 12.03 kB / 440.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003844/0.3694, allocations: 307.4 kB / 441 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009769/0.3704, allocations: 327.1 kB / 441.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.3732, allocations: 1.552 MB / 442.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.3733, allocations: 160.1 kB / 443 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/0.3737, allocations: 207.9 kB / 443.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.378, allocations: 2.736 MB / 446 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.3781, allocations: 11.94 kB / 446 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/0.3782, allocations: 84 kB / 446.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.512e-05/0.3783, allocations: 99.92 kB / 446.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/0.382, allocations: 2.322 MB / 448.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.3955, allocations: 8.335 MB / 456.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.3979, allocations: 1.792 MB / 458.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.3999, allocations: 1.065 MB / 459.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.4002, allocations: 130 kB / 459.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.4002, allocations: 43.56 kB / 459.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.4002, allocations: 4 kB / 459.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01355/0.4138, allocations: 6.243 MB / 466.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4139, allocations: 68.39 kB / 466.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.4164, allocations: 1.529 MB / 467.7 MB, free: 5.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.4166, allocations: 45.7 kB / 467.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.4174, allocations: 1.009 MB / 468.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.4178, allocations: 444.3 kB / 469.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.4182, allocations: 251.5 kB / 469.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4184, allocations: 361.9 kB / 469.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.4196, allocations: 0.73 MB / 470.5 MB, free: 2.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.421, allocations: 1.059 MB / 471.6 MB, free: 1.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.4236, allocations: 1.879 MB / 473.4 MB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.4236, allocations: 3.938 kB / 473.5 MB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004153/0.4277, allocations: 2.358 MB / 475.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.4278, allocations: 8 kB / 475.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.4278, allocations: 8 kB / 475.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/0.4288, allocations: 407.4 kB / 476.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4301, allocations: 335.4 kB / 476.6 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.4353, allocations: 5.071 MB / 481.6 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4367, allocations: 91.8 kB / 481.7 MB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.437, allocations: 56 kB / 481.8 MB, free: 7.035 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.001408/0.4384, allocations: 0.712 MB / 482.5 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/0.4389, allocations: 170.9 kB / 482.6 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/0.4429, allocations: 2.141 MB / 484.8 MB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.4429, allocations: 12 kB / 484.8 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.443, allocations: 4 kB / 484.8 MB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.443, allocations: 3.984 kB / 484.8 MB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009463/0.4524, allocations: 4.566 MB / 489.4 MB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.4525, allocations: 4 kB / 489.4 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/0.4535, allocations: 223.7 kB / 489.6 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4548, allocations: 463 kB / 490 MB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.4549, allocations: 35.97 kB / 490.1 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/0.4614, allocations: 6.693 MB / 496.8 MB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.4615, allocations: 3.984 kB / 496.8 MB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.4669, allocations: 3.189 MB / 500 MB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.468, allocations: 407.9 kB / 0.4886 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000487/0.4686, allocations: 28 kB / 0.4887 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.4698, allocations: 75.91 kB / 0.4887 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/0.4701, allocations: 108.7 kB / 0.4888 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/0.4702, allocations: 35.98 kB / 0.4889 GB, free: 3.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0021/0.4723, allocations: 1.056 MB / 0.4899 GB, free: 2.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4723, allocations: 0 / 0.4899 GB, free: 2.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00199/0.4743, allocations: 463.9 kB / 0.4903 GB, free: 2.039 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.006226/0.4806, allocations: 3.823 MB / 0.4941 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.4846, allocations: 2.274 MB / 0.4963 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.4846, allocations: 0.5 kB / 0.4963 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.487, allocations: 1.491 MB / 0.4978 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.4899, allocations: 455.2 kB / 0.4982 GB, free: 9.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/0.5192, allocations: 17.49 MB / 0.5153 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.5212, allocations: 1.826 MB / 0.5171 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001208/0.5224, allocations: 393.6 kB / 0.5174 GB, free: 5.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/0.5236, allocations: 0.8 MB / 0.5182 GB, free: 4.707 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5236, allocations: 0 / 0.5182 GB, free: 4.707 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2994/0.823, allocations: 43.44 MB / 0.5606 GB, free: 115.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/20.41, allocations: 2.406 kB / 0.5606 GB, free: 115.8 MB / 462.1 MB (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) 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.0.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) Reference file matches