Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 188.7 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 55.92 kB / 370.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.255, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01118/0.2662, allocations: 8.992 MB / 431.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00563/0.2719, allocations: 2.885 MB / 434.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.2733, allocations: 55.62 kB / 434.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.2754, allocations: 0.6329 MB / 435.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2784, allocations: 0.7808 MB / 436 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009133/0.2793, allocations: 323.5 kB / 436.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.2823, allocations: 2.362 MB / 438.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.2837, allocations: 1.024 MB / 439.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.2851, allocations: 1.086 MB / 440.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.2871, allocations: 1.378 MB / 442.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000439/0.2875, allocations: 280 kB / 442.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.2882, allocations: 379.8 kB / 442.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008103/0.289, allocations: 0.8063 MB / 443.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.2903, allocations: 1.256 MB / 444.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.2942, allocations: 3.683 MB / 448.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2942, allocations: 7.984 kB / 448.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2942, allocations: 4 kB / 448.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.335e-05/0.2943, allocations: 3.938 kB / 448.6 MB, free: 4.562 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.00502/0.2993, allocations: 2.571 MB / 451.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2993, allocations: 8.031 kB / 451.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000348/0.2997, allocations: 266 kB / 451.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/0.3003, allocations: 271.4 kB / 451.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.3028, allocations: 1.326 MB / 453 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.303, allocations: 132 kB / 453.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.3032, allocations: 195.8 kB / 453.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/0.3071, allocations: 2.413 MB / 455.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.3072, allocations: 0 / 455.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.3073, allocations: 72 kB / 455.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.82e-05/0.3074, allocations: 87.48 kB / 455.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/0.3108, allocations: 2.016 MB / 457.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.3225, allocations: 7.257 MB / 465.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.3243, allocations: 0.9892 MB / 466.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.326, allocations: 0.8612 MB / 467 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.3262, allocations: 48.97 kB / 467.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3262, allocations: 43.5 kB / 467.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.815e-06/0.3262, allocations: 0 / 467.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009537/0.3358, allocations: 4.688 MB / 471.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3358, allocations: 64.41 kB / 471.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.3381, allocations: 1.372 MB / 473.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.3382, allocations: 49.64 kB / 473.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007947/0.339, allocations: 0.9187 MB / 474.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.3394, allocations: 368.9 kB / 474.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.3398, allocations: 218.9 kB / 474.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3399, allocations: 353.9 kB / 475.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.341, allocations: 0.6311 MB / 475.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.3423, allocations: 0.922 MB / 476.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.3448, allocations: 1.645 MB / 478.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.3448, allocations: 4 kB / 478.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004478/0.3493, allocations: 2.379 MB / 480.7 MB, free: 3.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3493, allocations: 8 kB / 480.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.3494, allocations: 15.98 kB / 480.7 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.3513, allocations: 0.7082 MB / 481.4 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.3522, allocations: 239.7 kB / 481.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.3642, allocations: 8.531 MB / 490.2 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.3653, allocations: 79.88 kB / 490.3 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.3655, allocations: 47.98 kB / 490.3 MB, free: 9.867 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.001212/0.3667, allocations: 0.6241 MB / 490.9 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.3671, allocations: 147.1 kB / 491.1 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.3707, allocations: 1.897 MB / 493 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3707, allocations: 12 kB / 493 MB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.3707, allocations: 4 kB / 493 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/0.3707, allocations: 3.984 kB / 493 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007372/0.3781, allocations: 3.957 MB / 496.9 MB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.3781, allocations: 4 kB / 496.9 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.3789, allocations: 180 kB / 497.1 MB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.3802, allocations: 466.9 kB / 497.6 MB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-05/0.3803, allocations: 35.92 kB / 497.6 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006956/0.3873, allocations: 6.382 MB / 0.4922 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.3873, allocations: 7.969 kB / 0.4922 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/0.3919, allocations: 2.776 MB / 0.4949 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.3929, allocations: 290.9 kB / 0.4952 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003715/0.3932, allocations: 24 kB / 0.4952 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.3942, allocations: 71.91 kB / 0.4953 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.3944, allocations: 84.78 kB / 0.4954 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.3945, allocations: 27.98 kB / 0.4954 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001788/0.3963, allocations: 0.9581 MB / 0.4963 GB, free: 7.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3963, allocations: 0 / 0.4963 GB, free: 7.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00159/0.3979, allocations: 435.9 kB / 0.4967 GB, free: 6.992 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.005195/0.4031, allocations: 3.4 MB / 0.5001 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.4067, allocations: 1.937 MB / 0.5019 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.4067, allocations: 4 kB / 0.5019 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.4088, allocations: 1.227 MB / 0.5031 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.4111, allocations: 386.5 kB / 0.5035 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02916/0.4402, allocations: 16.35 MB / 0.5195 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.442, allocations: 1.689 MB / 0.5211 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001139/0.4432, allocations: 324 kB / 0.5214 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.4443, allocations: 0.6984 MB / 0.5221 GB, free: 12.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4443, allocations: 0 / 0.5221 GB, free: 12.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/0.7186, allocations: 41.08 MB / 0.5622 GB, free: 91.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/19.87, allocations: 8.5 kB / 0.5623 GB, free: 91.39 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 24.11704220995307]