Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001187/0.001187, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001565/0.001565, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2631, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01852/0.2816, allocations: 11.84 MB / 442.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.2951, allocations: 4.299 MB / 447.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.298, allocations: 95.44 kB / 447.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.3021, allocations: 0.9902 MB / 448.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.3081, allocations: 1.301 MB / 449.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.3106, allocations: 0.88 MB / 450.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005594/0.3162, allocations: 4.074 MB / 454.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.3193, allocations: 1.789 MB / 456.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.3222, allocations: 1.955 MB / 458.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.3259, allocations: 2.269 MB / 460.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007924/0.3267, allocations: 0.5117 MB / 461.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.3281, allocations: 0.7108 MB / 461.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.3292, allocations: 1.149 MB / 463 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002464/0.3316, allocations: 1.688 MB / 464.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007932/0.3396, allocations: 6.837 MB / 471.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3396, allocations: 0 / 471.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3396, allocations: 0 / 471.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001134/0.3397, allocations: 3.938 kB / 471.5 MB, free: 14.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01173/0.3514, allocations: 4.447 MB / 475.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.3515, allocations: 12.03 kB / 475.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007013/0.3522, allocations: 443.1 kB / 476.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/0.3568, allocations: 0.8456 MB / 477.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.3628, allocations: 2.44 MB / 479.7 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.3631, allocations: 238.4 kB / 479.9 MB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008057/0.3639, allocations: 312 kB / 480.2 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008348/0.3722, allocations: 4.42 MB / 484.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.17e-05/0.3723, allocations: 3.953 kB / 484.6 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.3726, allocations: 135.9 kB / 484.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.3727, allocations: 142.2 kB / 484.9 MB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006263/0.379, allocations: 3.659 MB / 488.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.4006, allocations: 11.92 MB / 0.4887 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005098/0.4057, allocations: 2.589 MB / 0.4913 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.4079, allocations: 1.3 MB / 0.4925 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006086/0.414, allocations: 3.083 MB / 0.4956 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.414, allocations: 51.56 kB / 0.4956 GB, free: 9.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.016e-06/0.414, allocations: 0 / 0.4956 GB, free: 9.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01309/0.4271, allocations: 6.083 MB / 0.5015 GB, free: 3.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.4272, allocations: 68.72 kB / 0.5016 GB, free: 3.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/0.4299, allocations: 1.911 MB / 0.5035 GB, free: 1.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.43, allocations: 53.7 kB / 0.5035 GB, free: 1.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.4311, allocations: 1.471 MB / 0.505 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/0.4316, allocations: 0.5151 MB / 0.5055 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/0.4321, allocations: 311.4 kB / 0.5058 GB, free: 15.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4322, allocations: 301.1 kB / 0.5061 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.4335, allocations: 0.7613 MB / 0.5068 GB, free: 13.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.4351, allocations: 1.249 MB / 0.508 GB, free: 12.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/0.4382, allocations: 2.115 MB / 0.5101 GB, free: 10.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4382, allocations: 4 kB / 0.5101 GB, free: 10.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004748/0.443, allocations: 2.66 MB / 0.5127 GB, free: 7.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.443, allocations: 12 kB / 0.5127 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.443, allocations: 12 kB / 0.5127 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.4444, allocations: 0.5062 MB / 0.5132 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.446, allocations: 383.4 kB / 0.5136 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008838/0.4548, allocations: 6.626 MB / 0.52 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.4563, allocations: 79.84 kB / 0.5201 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.4565, allocations: 75.92 kB / 0.5202 GB, free: 15.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * 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%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001825/0.4583, allocations: 1.06 MB / 0.5212 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.4588, allocations: 206.7 kB / 0.5214 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004564/0.4634, allocations: 2.334 MB / 0.5237 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.4634, allocations: 15.94 kB / 0.5237 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.4634, allocations: 8 kB / 0.5237 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4634, allocations: 7.969 kB / 0.5237 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/0.4727, allocations: 5.031 MB / 0.5286 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4728, allocations: 0 / 0.5286 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.4738, allocations: 215.9 kB / 0.5288 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.4751, allocations: 0.4984 MB / 0.5293 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.4752, allocations: 39.98 kB / 0.5294 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.217/0.6923, allocations: 10.78 MB / 0.5399 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6923, allocations: 2.188 kB / 0.5399 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.6975, allocations: 3.415 MB / 0.5432 GB, free: 94.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.6986, allocations: 398.8 kB / 0.5436 GB, free: 94.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.6989, allocations: 30.28 kB / 0.5436 GB, free: 94.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.6998, allocations: 72.25 kB / 0.5437 GB, free: 94.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.7001, allocations: 116.6 kB / 0.5438 GB, free: 94.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.7002, allocations: 47.84 kB / 0.5439 GB, free: 94.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.7019, allocations: 1.303 MB / 0.5451 GB, free: 93.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7019, allocations: 0 / 0.5451 GB, free: 93.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001658/0.7035, allocations: 0.5874 MB / 0.5457 GB, free: 93.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004456/0.708, allocations: 4.024 MB / 0.5497 GB, free: 91.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.7112, allocations: 2.327 MB / 0.5519 GB, free: 90.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7112, allocations: 3.719 kB / 0.5519 GB, free: 90.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.7132, allocations: 1.662 MB / 0.5535 GB, free: 89.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.7153, allocations: 0.5305 MB / 0.5541 GB, free: 89.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/0.7426, allocations: 21.38 MB / 0.5749 GB, free: 68.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.7441, allocations: 1.82 MB / 0.5767 GB, free: 66.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.7453, allocations: 421 kB / 0.5771 GB, free: 66.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.7464, allocations: 1.163 MB / 0.5783 GB, free: 65.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7464, allocations: 0 / 0.5783 GB, free: 65.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09881/0.8452, allocations: 60.16 MB / 0.637 GB, free: 5.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.85, allocations: 8 kB / 0.637 GB, free: 5.645 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 20.99731513299048]