Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 197.2 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 55.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2453, allocations: 50.55 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.008883/0.2542, allocations: 8.948 MB / 417.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004781/0.259, allocations: 2.937 MB / 420.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009322/0.26, allocations: 51.81 kB / 420.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.2615, allocations: 0.6396 MB / 421.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.2635, allocations: 0.7691 MB / 422.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.2642, allocations: 327.5 kB / 422.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.2663, allocations: 2.377 MB / 424.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.2681, allocations: 1.758 MB / 426.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.2694, allocations: 1.082 MB / 427.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.2709, allocations: 1.347 MB / 429 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.2713, allocations: 276 kB / 429.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.2719, allocations: 383.8 kB / 429.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006556/0.2726, allocations: 0.8025 MB / 430.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.2738, allocations: 1.264 MB / 431.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.2773, allocations: 3.713 MB / 435.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2774, allocations: 0 / 435.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2774, allocations: 0 / 435.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.83e-05/0.2774, allocations: 0 / 435.4 MB, free: 6.746 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004567/0.282, allocations: 2.658 MB / 438.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2821, allocations: 8.031 kB / 438.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002917/0.2823, allocations: 270 kB / 438.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.2833, allocations: 307.3 kB / 438.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.2855, allocations: 1.413 MB / 440.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/0.2857, allocations: 139.7 kB / 440.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.2859, allocations: 183.9 kB / 440.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.2895, allocations: 2.413 MB / 442.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.2896, allocations: 0 / 442.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.2898, allocations: 75.98 kB / 442.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.971e-05/0.2899, allocations: 87.48 kB / 443 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.293, allocations: 2.016 MB / 445 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.3038, allocations: 7.392 MB / 452.4 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3055, allocations: 1.277 MB / 453.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.3071, allocations: 0.912 MB / 454.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.3074, allocations: 122.1 kB / 454.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3074, allocations: 39.56 kB / 454.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.585e-06/0.3074, allocations: 0 / 454.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009308/0.3167, allocations: 4.928 MB / 459.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3168, allocations: 60.41 kB / 459.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.3187, allocations: 1.393 MB / 461.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.3188, allocations: 41.7 kB / 461.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005761/0.3193, allocations: 0.9228 MB / 462.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.3196, allocations: 368.8 kB / 462.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.3199, allocations: 222.8 kB / 462.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3201, allocations: 357.9 kB / 463 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009085/0.321, allocations: 0.6272 MB / 463.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.322, allocations: 0.9375 MB / 464.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.3241, allocations: 1.641 MB / 466.2 MB, free: 7.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.3241, allocations: 3.938 kB / 466.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003835/0.3279, allocations: 2.391 MB / 468.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3279, allocations: 8 kB / 468.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.328, allocations: 8 kB / 468.6 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.3297, allocations: 0.7168 MB / 469.3 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.3305, allocations: 239.6 kB / 469.5 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009857/0.3404, allocations: 8.742 MB / 478.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.3416, allocations: 83.88 kB / 478.4 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.3417, allocations: 47.98 kB / 478.4 MB, free: 10.58 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.3428, allocations: 0.6303 MB / 479 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.3431, allocations: 147.1 kB / 479.2 MB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.3461, allocations: 1.901 MB / 481.1 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3462, allocations: 19.88 kB / 481.1 MB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3462, allocations: 4 kB / 481.1 MB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3462, allocations: 3.984 kB / 481.1 MB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.3528, allocations: 4.009 MB / 485.1 MB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3529, allocations: 4 kB / 485.1 MB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/0.3537, allocations: 180 kB / 485.3 MB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.3549, allocations: 470.5 kB / 485.8 MB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-05/0.355, allocations: 31.86 kB / 485.8 MB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005923/0.3609, allocations: 6.677 MB / 492.5 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3609, allocations: 7.969 kB / 492.5 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.3652, allocations: 2.784 MB / 495.3 MB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007896/0.366, allocations: 368 kB / 495.6 MB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.3662, allocations: 24 kB / 495.6 MB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.367, allocations: 71.91 kB / 495.7 MB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.3672, allocations: 80.83 kB / 495.8 MB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.3672, allocations: 31.92 kB / 495.8 MB, free: 8.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.3686, allocations: 0.9625 MB / 496.8 MB, free: 7.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3686, allocations: 3.938 kB / 496.8 MB, free: 7.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001364/0.37, allocations: 439.9 kB / 497.2 MB, free: 7.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.004306/0.3743, allocations: 3.408 MB / 0.4889 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003292/0.3776, allocations: 2.015 MB / 0.4909 GB, free: 1.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3776, allocations: 1.875 kB / 0.4909 GB, free: 1.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.3796, allocations: 1.343 MB / 0.4922 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.3815, allocations: 391.1 kB / 0.4926 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/0.4052, allocations: 16.41 MB / 0.5086 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.4067, allocations: 1.696 MB / 0.5102 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009244/0.4076, allocations: 312 kB / 0.5105 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008969/0.4085, allocations: 0.7063 MB / 0.5112 GB, free: 12.22 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4085, allocations: 3.938 kB / 0.5112 GB, free: 12.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2624/0.6709, allocations: 40.06 MB / 0.5503 GB, free: 125.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/17.45, allocations: 7.688 kB / 0.5504 GB, free: 125.2 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_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_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches