Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001514/0.001514, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001568/0.001568, allocations: 185.6 kB / 24.49 MB, free: 3.961 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.345/1.345, allocations: 225.7 MB / 253.3 MB, free: 12.88 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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.001515/0.001515, allocations: 55.91 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2364, allocations: 52.18 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01413/0.2505, allocations: 11.27 MB / 434.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008176/0.2587, allocations: 4.03 MB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.2609, allocations: 91.5 kB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.2637, allocations: 0.9669 MB / 439.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.2677, allocations: 1.336 MB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.2698, allocations: 0.8225 MB / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.275, allocations: 4.027 MB / 445.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.2777, allocations: 1.777 MB / 447.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.2807, allocations: 1.939 MB / 449.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.2842, allocations: 2.156 MB / 451.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009732/0.2852, allocations: 0.5078 MB / 452.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.2869, allocations: 0.699 MB / 453 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.2881, allocations: 1.149 MB / 454.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.291, allocations: 1.677 MB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008197/0.2992, allocations: 6.806 MB / 462.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.2992, allocations: 8 kB / 462.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2992, allocations: 4 kB / 462.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.2994, allocations: 0 / 462.6 MB, free: 6.93 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01218/0.3116, allocations: 4.408 MB / 467 MB, free: 2.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3116, allocations: 11.97 kB / 467.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.848e-05/0.3117, allocations: 82.45 kB / 467.1 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008746/0.3126, allocations: 447.1 kB / 467.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.317, allocations: 0.8339 MB / 468.4 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005463/0.3224, allocations: 2.416 MB / 470.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/0.3227, allocations: 246.4 kB / 471.1 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.3237, allocations: 312 kB / 471.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009247/0.333, allocations: 4.408 MB / 475.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.308e-05/0.333, allocations: 3.953 kB / 475.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.3334, allocations: 132 kB / 475.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.3335, allocations: 146.2 kB / 476.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006634/0.3402, allocations: 3.659 MB / 479.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02025/0.3604, allocations: 11.91 MB / 491.6 MB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.3652, allocations: 2.578 MB / 494.2 MB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.3674, allocations: 1.301 MB / 495.5 MB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005937/0.3733, allocations: 3.044 MB / 498.5 MB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.3734, allocations: 47.55 kB / 498.6 MB, free: 2.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.547e-06/0.3734, allocations: 0 / 498.6 MB, free: 2.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01362/0.387, allocations: 6.075 MB / 0.4928 GB, free: 12.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.387, allocations: 64.72 kB / 0.4929 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.3899, allocations: 1.855 MB / 0.4947 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.3901, allocations: 53.7 kB / 0.4948 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.3912, allocations: 1.455 MB / 0.4962 GB, free: 8.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/0.3917, allocations: 0.5152 MB / 0.4967 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005196/0.3923, allocations: 303.5 kB / 0.497 GB, free: 8.098 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3924, allocations: 305.1 kB / 0.4973 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.3937, allocations: 0.7652 MB / 0.498 GB, free: 7.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.3953, allocations: 1.249 MB / 0.4992 GB, free: 5.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/0.3984, allocations: 2.108 MB / 0.5013 GB, free: 3.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.3984, allocations: 4 kB / 0.5013 GB, free: 3.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004953/0.4033, allocations: 2.652 MB / 0.5039 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.4034, allocations: 14.81 kB / 0.5039 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.4034, allocations: 12 kB / 0.5039 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.4049, allocations: 0.5062 MB / 0.5044 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.4064, allocations: 387.5 kB / 0.5048 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009063/0.4154, allocations: 6.612 MB / 0.5112 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.4174, allocations: 83.84 kB / 0.5113 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.4176, allocations: 72.14 kB / 0.5114 GB, free: 8.703 MB / 430.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.00221/0.4198, allocations: 1.052 MB / 0.5124 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/0.4203, allocations: 202.7 kB / 0.5126 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.4249, allocations: 2.337 MB / 0.5149 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.425, allocations: 15.94 kB / 0.5149 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.425, allocations: 8 kB / 0.5149 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.425, allocations: 7.969 kB / 0.5149 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009036/0.434, allocations: 5.003 MB / 0.5198 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.434, allocations: 3.938 kB / 0.5198 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.435, allocations: 215.9 kB / 0.52 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.4364, allocations: 0.4998 MB / 0.5205 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4365, allocations: 35.98 kB / 0.5205 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.4477, allocations: 10.82 MB / 0.5311 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4477, allocations: 64 / 0.5311 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/0.4534, allocations: 3.405 MB / 0.5344 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2243/0.6777, allocations: 395.2 kB / 0.5348 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007044/0.6784, allocations: 31.89 kB / 0.5348 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6796, allocations: 67.38 kB / 0.5349 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/0.6799, allocations: 118.2 kB / 0.535 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.6801, allocations: 44.91 kB / 0.535 GB, free: 106.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00253/0.6826, allocations: 1.284 MB / 0.5363 GB, free: 106.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6826, allocations: 2.062 kB / 0.5363 GB, free: 106.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002532/0.6851, allocations: 0.5871 MB / 0.5369 GB, free: 106.3 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.005605/0.6907, allocations: 4.011 MB / 0.5408 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.6943, allocations: 2.32 MB / 0.5431 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.6943, allocations: 3.75 kB / 0.5431 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.6966, allocations: 1.665 MB / 0.5447 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.699, allocations: 0.508 MB / 0.5452 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/0.7268, allocations: 21.33 MB / 0.566 GB, free: 84.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.7282, allocations: 1.819 MB / 0.5678 GB, free: 82.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001225/0.7294, allocations: 416.8 kB / 0.5682 GB, free: 82.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.7306, allocations: 1.148 MB / 0.5693 GB, free: 81.02 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.7306, allocations: 0 / 0.5693 GB, free: 81.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.8328, allocations: 59 MB / 0.6269 GB, free: 22.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/16.06, allocations: 15.98 kB / 0.6269 GB, free: 22.63 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 24.12205842905678]