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.00156/0.00156, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.0019/0.0019, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001747/0.001747, allocations: 63.91 kB / 373 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1077, allocations: 53.32 MB / 426.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.2503/0.3581, allocations: 8.986 MB / 435.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.3634, allocations: 2.968 MB / 438.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.3652, allocations: 56.66 kB / 438.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.3673, allocations: 0.6406 MB / 439 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.3702, allocations: 0.7624 MB / 439.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.3712, allocations: 339.6 kB / 440.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.3744, allocations: 2.372 MB / 442.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.3761, allocations: 1.289 MB / 443.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.3782, allocations: 1.094 MB / 444.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.3805, allocations: 1.38 MB / 446.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005344/0.381, allocations: 279.3 kB / 446.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000979/0.382, allocations: 385.3 kB / 446.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008095/0.3828, allocations: 0.8145 MB / 447.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.3842, allocations: 1.267 MB / 448.9 MB, free: 280 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005466/0.3897, allocations: 3.712 MB / 452.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.3897, allocations: 1.156 kB / 452.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3897, allocations: 0 / 452.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001264/0.3898, allocations: 0 / 452.6 MB, free: 14.95 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.007774/0.3976, allocations: 2.657 MB / 455.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.3976, allocations: 9.562 kB / 455.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005324/0.3982, allocations: 266.9 kB / 455.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3994, allocations: 299.3 kB / 455.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.4023, allocations: 1.417 MB / 457.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.4024, allocations: 132.4 kB / 457.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.4028, allocations: 206.5 kB / 457.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/0.408, allocations: 2.403 MB / 460 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.663e-05/0.408, allocations: 12.64 kB / 460 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.4082, allocations: 72.16 kB / 460.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.4083, allocations: 85.47 kB / 460.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/0.412, allocations: 2.011 MB / 462.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.4263, allocations: 7.388 MB / 469.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.4285, allocations: 1.215 MB / 470.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.4303, allocations: 0.8622 MB / 471.7 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/0.4306, allocations: 115.4 kB / 471.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.4306, allocations: 55.58 kB / 471.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 4.338e-06/0.4306, allocations: 0 / 471.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01069/0.4413, allocations: 4.921 MB / 476.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.4414, allocations: 60.41 kB / 476.8 MB, free: 14.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/0.4439, allocations: 1.393 MB / 478.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.4441, allocations: 41.7 kB / 478.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008549/0.4449, allocations: 0.9227 MB / 479.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.4454, allocations: 368.9 kB / 479.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.4458, allocations: 214.9 kB / 479.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.446, allocations: 357.9 kB / 480.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.4472, allocations: 0.6311 MB / 480.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4487, allocations: 0.9259 MB / 481.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.4513, allocations: 1.645 MB / 483.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4513, allocations: 7.938 kB / 483.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004951/0.4562, allocations: 2.376 MB / 485.7 MB, free: 4.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.4563, allocations: 8 kB / 485.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/0.4563, allocations: 13.55 kB / 485.7 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.4584, allocations: 0.712 MB / 486.4 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/0.4594, allocations: 239.6 kB / 486.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.4724, allocations: 8.728 MB / 495.4 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.4738, allocations: 79.88 kB / 495.4 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.474, allocations: 47.98 kB / 495.5 MB, free: 10.73 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.001494/0.4755, allocations: 0.6361 MB / 496.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/0.4761, allocations: 147.6 kB / 496.3 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.48, allocations: 1.893 MB / 498.2 MB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.48, allocations: 12 kB / 498.2 MB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.48, allocations: 7.984 kB / 498.2 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.48, allocations: 7.922 kB / 498.2 MB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008674/0.4887, allocations: 3.999 MB / 0.4904 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4887, allocations: 0 / 0.4904 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/0.4896, allocations: 191.9 kB / 0.4906 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.491, allocations: 458.9 kB / 0.491 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.703e-05/0.4911, allocations: 27.92 kB / 0.4911 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007798/0.4989, allocations: 6.692 MB / 0.4976 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.4989, allocations: 4.062 kB / 0.4976 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.5041, allocations: 2.772 MB / 0.5003 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.5052, allocations: 372 kB / 0.5007 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000508/0.5057, allocations: 23.98 kB / 0.5007 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5068, allocations: 71.92 kB / 0.5008 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.507, allocations: 76.89 kB / 0.5008 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/0.5071, allocations: 31.98 kB / 0.5009 GB, free: 8.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001933/0.5091, allocations: 0.9663 MB / 0.5018 GB, free: 7.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5091, allocations: 0 / 0.5018 GB, free: 7.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001968/0.511, allocations: 431.9 kB / 0.5022 GB, free: 7.328 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.005417/0.5165, allocations: 3.414 MB / 0.5055 GB, free: 3.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003936/0.5204, allocations: 1.959 MB / 0.5075 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.5204, allocations: 1.875 kB / 0.5075 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.5227, allocations: 1.289 MB / 0.5087 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.5249, allocations: 395 kB / 0.5091 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/0.5541, allocations: 16.37 MB / 0.5251 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.5558, allocations: 1.7 MB / 0.5267 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009762/0.5568, allocations: 312 kB / 0.527 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.5578, allocations: 0.7102 MB / 0.5277 GB, free: 12.56 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5578, allocations: 0 / 0.5277 GB, free: 12.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09992/0.6577, allocations: 40.37 MB / 0.5672 GB, free: 4.598 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/18.63, allocations: 15.88 kB / 0.5672 GB, free: 4.582 MB / 478.1 MB " [Timeout remaining time 641] (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: 22.904920845991]