Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 56.09 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2634, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01637/0.2798, allocations: 11.83 MB / 443.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009372/0.2891, allocations: 4.287 MB / 448 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.2917, allocations: 95.44 kB / 448.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.2948, allocations: 0.9824 MB / 449.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.2997, allocations: 1.309 MB / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.3025, allocations: 0.8895 MB / 451.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006239/0.3087, allocations: 4.063 MB / 455.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002932/0.3116, allocations: 1.777 MB / 457.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.3146, allocations: 1.967 MB / 459.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.3184, allocations: 2.269 MB / 461.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.3194, allocations: 0.5078 MB / 461.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3211, allocations: 0.7263 MB / 462.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3223, allocations: 1.141 MB / 463.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.3248, allocations: 1.692 MB / 465.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008026/0.3328, allocations: 6.848 MB / 472.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3328, allocations: 0 / 472.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3328, allocations: 4 kB / 472.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.3329, allocations: 7.875 kB / 472.3 MB, free: 13.86 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.01261/0.3455, allocations: 4.45 MB / 476.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.3456, allocations: 12.03 kB / 476.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001213/0.3457, allocations: 86.45 kB / 476.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000889/0.3466, allocations: 447.1 kB / 477.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.3513, allocations: 0.8378 MB / 478.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/0.3568, allocations: 2.467 MB / 480.6 MB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.357, allocations: 238.2 kB / 480.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006954/0.3577, allocations: 311.9 kB / 481.1 MB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008763/0.3665, allocations: 4.408 MB / 485.5 MB, free: 424 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.592e-05/0.3665, allocations: 15.89 kB / 485.6 MB, free: 408 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.3668, allocations: 124 kB / 485.7 MB, free: 284 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.367, allocations: 146.2 kB / 485.8 MB, free: 136 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007182/0.3742, allocations: 3.671 MB / 489.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.3981, allocations: 11.92 MB / 0.4897 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005592/0.4037, allocations: 2.589 MB / 0.4922 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.4062, allocations: 1.3 MB / 0.4935 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007573/0.4138, allocations: 3.079 MB / 0.4965 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.4139, allocations: 47.56 kB / 0.4965 GB, free: 9.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 4.548e-06/0.4139, allocations: 8 kB / 0.4965 GB, free: 9.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01574/0.4296, allocations: 6.084 MB / 0.5025 GB, free: 3.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.4297, allocations: 68.72 kB / 0.5025 GB, free: 3.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.4337, allocations: 1.884 MB / 0.5044 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.4339, allocations: 53.7 kB / 0.5044 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.4353, allocations: 1.475 MB / 0.5059 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/0.4359, allocations: 0.5229 MB / 0.5064 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005832/0.4365, allocations: 307.5 kB / 0.5067 GB, free: 14.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4366, allocations: 305.1 kB / 0.507 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.438, allocations: 0.7652 MB / 0.5077 GB, free: 13.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.4397, allocations: 1.241 MB / 0.5089 GB, free: 12.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.4431, allocations: 2.115 MB / 0.511 GB, free: 9.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.4431, allocations: 4 kB / 0.511 GB, free: 9.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00536/0.4484, allocations: 2.664 MB / 0.5136 GB, free: 7.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.4485, allocations: 12 kB / 0.5136 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/0.4485, allocations: 16.28 kB / 0.5136 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.45, allocations: 0.5053 MB / 0.5141 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.4515, allocations: 379.4 kB / 0.5145 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/0.4612, allocations: 6.618 MB / 0.5209 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.4631, allocations: 84.06 kB / 0.521 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003617/0.4635, allocations: 75.98 kB / 0.5211 GB, free: 15.38 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.00256/0.4661, allocations: 1.052 MB / 0.5221 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007287/0.4668, allocations: 206.7 kB / 0.5223 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/0.472, allocations: 2.345 MB / 0.5246 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.472, allocations: 16 kB / 0.5246 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-05/0.4721, allocations: 4 kB / 0.5246 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.4721, allocations: 7.984 kB / 0.5246 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.4829, allocations: 5.016 MB / 0.5295 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.4829, allocations: 4 kB / 0.5295 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.484, allocations: 215.7 kB / 0.5297 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.4854, allocations: 0.4991 MB / 0.5302 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.4856, allocations: 39.98 kB / 0.5303 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2161/0.7017, allocations: 10.79 MB / 0.5408 GB, free: 95.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7017, allocations: 4.969 kB / 0.5408 GB, free: 95.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/0.707, allocations: 3.413 MB / 0.5441 GB, free: 94.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.7081, allocations: 397.7 kB / 0.5445 GB, free: 94.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.7084, allocations: 33.8 kB / 0.5445 GB, free: 94.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009352/0.7093, allocations: 64.39 kB / 0.5446 GB, free: 94.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.7097, allocations: 122.8 kB / 0.5447 GB, free: 94.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/0.7098, allocations: 39.61 kB / 0.5448 GB, free: 94.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001931/0.7117, allocations: 1.304 MB / 0.546 GB, free: 93.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7117, allocations: 1.562 kB / 0.546 GB, free: 93.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002023/0.7137, allocations: 0.5904 MB / 0.5466 GB, free: 93.7 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.004606/0.7183, allocations: 4.024 MB / 0.5505 GB, free: 91.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.7217, allocations: 2.332 MB / 0.5528 GB, free: 90.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.7217, allocations: 0 / 0.5528 GB, free: 90.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.7239, allocations: 1.657 MB / 0.5544 GB, free: 89.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.7263, allocations: 0.5362 MB / 0.555 GB, free: 89.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03066/0.757, allocations: 21.38 MB / 0.5758 GB, free: 68.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/0.7592, allocations: 1.824 MB / 0.5776 GB, free: 66.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001317/0.7606, allocations: 421 kB / 0.578 GB, free: 66.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/0.7619, allocations: 1.167 MB / 0.5792 GB, free: 65.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7619, allocations: 0 / 0.5792 GB, free: 65.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.8639, allocations: 59.58 MB / 0.6374 GB, free: 6.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.11, allocations: 15.12 kB / 0.6374 GB, free: 6.027 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 25.160307631944306]