Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001764/0.001764, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.00219/0.00219, allocations: 211.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_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_1_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.001546/0.001546, allocations: 43.92 kB / 377.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2801, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01164/0.2917, allocations: 7.951 MB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.2978, allocations: 2.786 MB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009312/0.2987, allocations: 55.62 kB / 441.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3001, allocations: 0.5934 MB / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.3018, allocations: 0.7807 MB / 443.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.3024, allocations: 339.5 kB / 443.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.3052, allocations: 2.37 MB / 446 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.3067, allocations: 1.024 MB / 447 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.3086, allocations: 1.102 MB / 448.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.3108, allocations: 1.378 MB / 449.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.3112, allocations: 280 kB / 449.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007641/0.3119, allocations: 383.8 kB / 450.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009354/0.3129, allocations: 0.8141 MB / 450.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.3141, allocations: 1.023 MB / 451.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.3184, allocations: 3.729 MB / 455.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3184, allocations: 0 / 455.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3184, allocations: 0 / 455.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.404e-05/0.3185, allocations: 0 / 455.7 MB, free: 13.94 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005196/0.3237, allocations: 2.591 MB / 458.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.3237, allocations: 12.03 kB / 458.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004295/0.3241, allocations: 266 kB / 458.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.3253, allocations: 303.3 kB / 458.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.3284, allocations: 1.341 MB / 460.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.3285, allocations: 135.7 kB / 460.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.3289, allocations: 187.9 kB / 460.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.3334, allocations: 2.514 MB / 463 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.3334, allocations: 0 / 463 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.3336, allocations: 72 kB / 463.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.3337, allocations: 87.48 kB / 463.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/0.3372, allocations: 2.016 MB / 465.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.3489, allocations: 6.664 MB / 471.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.3507, allocations: 0.9884 MB / 472.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.3524, allocations: 0.8534 MB / 473.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.3526, allocations: 44.97 kB / 473.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3526, allocations: 47.55 kB / 473.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.956e-06/0.3526, allocations: 3.938 kB / 473.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.00982/0.3624, allocations: 4.691 MB / 478.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3625, allocations: 64.34 kB / 478.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.3647, allocations: 1.408 MB / 479.9 MB, free: 5.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.3648, allocations: 45.7 kB / 480 MB, free: 5.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.3656, allocations: 0.9227 MB / 480.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.3659, allocations: 364.9 kB / 481.3 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.3663, allocations: 214.9 kB / 481.5 MB, free: 3.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3665, allocations: 357.9 kB / 481.8 MB, free: 3.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.3675, allocations: 0.6311 MB / 482.5 MB, free: 2.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.3687, allocations: 0.922 MB / 483.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.3711, allocations: 1.645 MB / 485 MB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3711, allocations: 3.938 kB / 485 MB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004475/0.3756, allocations: 2.383 MB / 487.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3756, allocations: 8 kB / 487.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.3756, allocations: 8 kB / 487.4 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.3776, allocations: 0.7167 MB / 488.1 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008998/0.3785, allocations: 235.7 kB / 488.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.39, allocations: 8.448 MB / 496.8 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.3912, allocations: 87.8 kB / 496.9 MB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.3913, allocations: 44 kB / 496.9 MB, free: 3.691 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.001121/0.3924, allocations: 0.6302 MB / 497.6 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.3927, allocations: 151 kB / 497.7 MB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/0.3962, allocations: 1.901 MB / 499.6 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.3962, allocations: 12 kB / 499.6 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3962, allocations: 4 kB / 499.6 MB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.3962, allocations: 7.984 kB / 499.7 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008067/0.4043, allocations: 3.743 MB / 0.4916 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.4043, allocations: 0 / 0.4916 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/0.4051, allocations: 179.8 kB / 0.4918 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.4066, allocations: 471.1 kB / 0.4922 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/0.4067, allocations: 27.92 kB / 0.4922 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007229/0.4139, allocations: 6.337 MB / 0.4984 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.4139, allocations: 7.969 kB / 0.4984 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.4186, allocations: 2.772 MB / 0.5011 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009803/0.4195, allocations: 294.9 kB / 0.5014 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.4197, allocations: 20 kB / 0.5014 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/0.4205, allocations: 79.84 kB / 0.5015 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.4208, allocations: 76.84 kB / 0.5016 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.4208, allocations: 35.92 kB / 0.5016 GB, free: 2.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.4224, allocations: 0.9586 MB / 0.5026 GB, free: 1.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4224, allocations: 0 / 0.5026 GB, free: 1.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001505/0.4239, allocations: 439.9 kB / 0.503 GB, free: 1.043 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.005246/0.4291, allocations: 3.408 MB / 0.5063 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.4331, allocations: 1.942 MB / 0.5082 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.4331, allocations: 0 / 0.5082 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.4353, allocations: 1.222 MB / 0.5094 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.4374, allocations: 384.2 kB / 0.5098 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/0.4647, allocations: 16.4 MB / 0.5258 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.4661, allocations: 1.126 MB / 0.5269 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000989/0.4671, allocations: 316 kB / 0.5272 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.4682, allocations: 0.7023 MB / 0.5279 GB, free: 6.922 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4682, allocations: 4 kB / 0.5279 GB, free: 6.918 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.253/0.7211, allocations: 43.49 MB / 0.5703 GB, free: 77.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.9, allocations: 6.75 kB / 0.5704 GB, free: 77.75 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.995637127984082]