Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002039/0.002039, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.73 kB / 307 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08905, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005335/0.09443, allocations: 3.288 MB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.09715, allocations: 1.413 MB / 362.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.09752, allocations: 8 kB / 362.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.09804, allocations: 143 kB / 362.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.09915, allocations: 421.7 kB / 362.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.09961, allocations: 195.4 kB / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.1003, allocations: 458.1 kB / 363.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.1005, allocations: 148.5 kB / 363.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.1008, allocations: 175.3 kB / 363.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.101, allocations: 207.1 kB / 364 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.1011, allocations: 36 kB / 364 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.1015, allocations: 167.9 kB / 364.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.1015, allocations: 87.61 kB / 364.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1017, allocations: 187.1 kB / 364.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.1024, allocations: 0.5528 MB / 365 MB, free: 6.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1024, allocations: 0 / 365 MB, free: 6.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1024, allocations: 0 / 365 MB, free: 6.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1024, allocations: 0 / 365 MB, free: 6.492 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001539/0.104, allocations: 0.7486 MB / 365.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1041, allocations: 12.03 kB / 365.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.929e-05/0.1042, allocations: 66.72 kB / 365.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.1049, allocations: 116.4 kB / 366 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.1054, allocations: 317.6 kB / 366.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1054, allocations: 25.38 kB / 366.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.1055, allocations: 36.31 kB / 366.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.1061, allocations: 361.4 kB / 366.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1061, allocations: 0 / 366.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.1061, allocations: 8 kB / 366.7 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1061, allocations: 12 kB / 366.7 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.1066, allocations: 250 kB / 366.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1086, allocations: 1.319 MB / 368.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.109, allocations: 197.1 kB / 368.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1092, allocations: 85.69 kB / 368.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009436/0.1101, allocations: 1.192 MB / 369.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1102, allocations: 46.5 kB / 369.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.1102, allocations: 0 / 369.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005162/0.1107, allocations: 221.2 kB / 370 MB, free: 1.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1107, allocations: 85.05 kB / 370.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.111, allocations: 291 kB / 370.4 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.111, allocations: 29.7 kB / 370.4 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1112, allocations: 239.4 kB / 370.6 MB, free: 428 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1112, allocations: 63.11 kB / 370.7 MB, free: 364 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.1113, allocations: 62.02 kB / 370.7 MB, free: 296 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1487/0.26, allocations: 335.7 kB / 371.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.2603, allocations: 63.3 kB / 371.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.2605, allocations: 198.3 kB / 371.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.2609, allocations: 292.1 kB / 371.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2609, allocations: 1.094 kB / 371.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000565/0.2614, allocations: 319.3 kB / 371.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2615, allocations: 8.781 kB / 371.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2615, allocations: 9.516 kB / 371.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.2615, allocations: 11.38 kB / 372 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2618, allocations: 80.02 kB / 372 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2618, allocations: 15 kB / 372.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.262, allocations: 35.89 kB / 372.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.2621, allocations: 17.69 kB / 372.1 MB, free: 19.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.2622, allocations: 151.5 kB / 372.3 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.2623, allocations: 25.27 kB / 372.3 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.2624, allocations: 34.2 kB / 372.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2624, allocations: 2.531 kB / 372.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2624, allocations: 6.031 kB / 372.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2624, allocations: 2.578 kB / 372.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.263, allocations: 0.5131 MB / 372.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.263, allocations: 3.625 kB / 372.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.2632, allocations: 45.52 kB / 372.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2633, allocations: 5.875 kB / 372.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2633, allocations: 8.391 kB / 372.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2633, allocations: 1.219 kB / 372.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2633, allocations: 3.875 kB / 372.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.2638, allocations: 417 kB / 373.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.2638, allocations: 109.8 kB / 373.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.2639, allocations: 2.359 kB / 373.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2641, allocations: 19.05 kB / 373.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2641, allocations: 12.31 kB / 373.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2642, allocations: 8.188 kB / 373.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.2643, allocations: 200.9 kB / 373.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2643, allocations: 0 / 373.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004135/0.2648, allocations: 82.73 kB / 373.7 MB, free: 18.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006272/0.2654, allocations: 0.9618 MB / 374.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.2658, allocations: 200.1 kB / 374.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2658, allocations: 0.8438 kB / 374.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.266, allocations: 68.58 kB / 375 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.2664, allocations: 37.09 kB / 375 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.2694, allocations: 3.16 MB / 378.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.2696, allocations: 0.777 MB / 378.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.2698, allocations: 35.69 kB / 379 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2699, allocations: 105.1 kB / 379.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.2699, allocations: 0 / 379.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.949/2.219, allocations: 5.43 MB / 384.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/17.87, allocations: 11.22 kB / 384.5 MB, free: 14.1 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches