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.001566/0.001566, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.00184/0.00184, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.464/1.464, allocations: 230.2 MB / 254.5 MB, free: 15.23 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1114, allocations: 53.32 MB / 426.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.254/0.3654, allocations: 13.57 MB / 440.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008896/0.3743, allocations: 4.556 MB / 444.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002845/0.3772, allocations: 76.69 kB / 444.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.3802, allocations: 1.043 MB / 445.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.3848, allocations: 1.317 MB / 447.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.3872, allocations: 0.8856 MB / 448.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006282/0.3935, allocations: 4.061 MB / 452.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.3969, allocations: 2.265 MB / 454.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.4008, allocations: 1.911 MB / 456.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004531/0.4053, allocations: 2.27 MB / 458.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.4063, allocations: 0.5135 MB / 459.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.4086, allocations: 0.7343 MB / 459.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.4099, allocations: 1.142 MB / 461 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003523/0.4134, allocations: 2.143 MB / 463.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009818/0.4232, allocations: 6.814 MB / 470 MB, free: 2.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4232, allocations: 3.938 kB / 470 MB, free: 2.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4232, allocations: 0 / 470 MB, free: 2.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.4234, allocations: 0 / 470 MB, free: 2.902 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.0141/0.4375, allocations: 4.529 MB / 474.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4375, allocations: 10.22 kB / 474.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008683/0.4384, allocations: 441.8 kB / 474.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/0.443, allocations: 0.8407 MB / 475.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006339/0.4494, allocations: 2.515 MB / 478.3 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.4496, allocations: 244.1 kB / 478.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009188/0.4505, allocations: 322.3 kB / 478.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008706/0.4592, allocations: 4.258 MB / 483.1 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.472e-05/0.4593, allocations: 7.891 kB / 483.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.4596, allocations: 132.5 kB / 483.3 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.4598, allocations: 138.2 kB / 483.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007107/0.4669, allocations: 3.675 MB / 487.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/0.4943, allocations: 13.44 MB / 0.4888 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007255/0.5015, allocations: 6.754 MB / 0.4954 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/0.5039, allocations: 1.313 MB / 0.4967 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007419/0.5113, allocations: 3.882 MB / 0.5004 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.5113, allocations: 51.56 kB / 0.5005 GB, free: 9.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.955e-06/0.5113, allocations: 0 / 0.5005 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01456/0.5259, allocations: 6.678 MB / 0.507 GB, free: 2.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.526, allocations: 68.66 kB / 0.5071 GB, free: 2.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.529, allocations: 1.896 MB / 0.5089 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.5291, allocations: 49.7 kB / 0.509 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.5303, allocations: 1.475 MB / 0.5104 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/0.5308, allocations: 0.5112 MB / 0.5109 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/0.5312, allocations: 307.5 kB / 0.5112 GB, free: 14.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5314, allocations: 305.1 kB / 0.5115 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5326, allocations: 0.7652 MB / 0.5122 GB, free: 13.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.5343, allocations: 1.225 MB / 0.5134 GB, free: 12.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.5373, allocations: 2.108 MB / 0.5155 GB, free: 9.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5373, allocations: 7.938 kB / 0.5155 GB, free: 9.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004781/0.5421, allocations: 2.668 MB / 0.5181 GB, free: 7.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.5421, allocations: 12 kB / 0.5181 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.5421, allocations: 16 kB / 0.5181 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5435, allocations: 0.4974 MB / 0.5186 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.545, allocations: 387.4 kB / 0.519 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008981/0.554, allocations: 6.927 MB / 0.5258 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.5556, allocations: 87.97 kB / 0.5258 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.5559, allocations: 71.98 kB / 0.5259 GB, free: 14.81 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.002346/0.5582, allocations: 1.044 MB / 0.5269 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006585/0.5589, allocations: 206.7 kB / 0.5271 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.564, allocations: 2.492 MB / 0.5296 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.564, allocations: 15.94 kB / 0.5296 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/0.564, allocations: 8 kB / 0.5296 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.564, allocations: 7.969 kB / 0.5296 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.5748, allocations: 5.53 MB / 0.535 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5748, allocations: 4.188 kB / 0.535 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5758, allocations: 215.7 kB / 0.5352 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.5771, allocations: 0.4905 MB / 0.5357 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.5772, allocations: 39.98 kB / 0.5357 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.5892, allocations: 11.44 MB / 0.5469 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5892, allocations: 0 / 0.5469 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006114/0.5953, allocations: 3.571 MB / 0.5504 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.5967, allocations: 471.6 kB / 0.5508 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.597, allocations: 31.98 kB / 0.5509 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.5978, allocations: 68.33 kB / 0.5509 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.5981, allocations: 105.1 kB / 0.551 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/0.5982, allocations: 43.98 kB / 0.5511 GB, free: 4.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002114/0.6003, allocations: 1.31 MB / 0.5523 GB, free: 2.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6003, allocations: 3.938 kB / 0.5524 GB, free: 2.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002354/0.6027, allocations: 0.5976 MB / 0.5529 GB, free: 2.117 MB / 462.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.006176/0.6088, allocations: 4.183 MB / 0.557 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004446/0.6133, allocations: 2.325 MB / 0.5593 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6133, allocations: 0 / 0.5593 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.616, allocations: 1.657 MB / 0.5609 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.6186, allocations: 0.5316 MB / 0.5614 GB, free: 9.242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/0.6545, allocations: 21.37 MB / 0.5823 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.6569, allocations: 2.371 MB / 0.5846 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.6583, allocations: 421 kB / 0.585 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/0.66, allocations: 1.167 MB / 0.5862 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.66, allocations: 0 / 0.5862 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3585/1.019, allocations: 56.13 MB / 0.641 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.77, allocations: 10.66 kB / 0.641 GB, free: 164.6 MB / 0.5137 GB " [Timeout remaining time 644] (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_2/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_2/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 21.859258081763983]