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.001208/0.001208, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.7 kB / 306.4 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08314, allocations: 50.52 MB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004162/0.08733, allocations: 3.337 MB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.08952, allocations: 1.405 MB / 361.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.0898, allocations: 8 kB / 361.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.09021, allocations: 123.4 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.09114, allocations: 394.2 kB / 362.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.09152, allocations: 163.6 kB / 362.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.09213, allocations: 446.1 kB / 362.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.09238, allocations: 137 kB / 362.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.09261, allocations: 159.4 kB / 363 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.09286, allocations: 191.1 kB / 363.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.09292, allocations: 24 kB / 363.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.09324, allocations: 159.8 kB / 363.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.09331, allocations: 71.7 kB / 363.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.09348, allocations: 190.9 kB / 363.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.09401, allocations: 0.5256 MB / 364.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09402, allocations: 0 / 364.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.09403, allocations: 0 / 364.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.09404, allocations: 0 / 364.2 MB, free: 7.094 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.001356/0.0954, allocations: 0.7565 MB / 364.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.09545, allocations: 8.031 kB / 364.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.086e-05/0.09553, allocations: 70.72 kB / 365 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.09626, allocations: 116.4 kB / 365.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.09665, allocations: 309.6 kB / 365.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.09668, allocations: 29.38 kB / 365.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.09674, allocations: 32.38 kB / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.0973, allocations: 357.5 kB / 365.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.09732, allocations: 0 / 365.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.09736, allocations: 12 kB / 365.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.09737, allocations: 15.92 kB / 365.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.09785, allocations: 257.9 kB / 366.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.09971, allocations: 1.311 MB / 367.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.1001, allocations: 196.7 kB / 367.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1002, allocations: 85.69 kB / 367.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008951/0.1011, allocations: 1.2 MB / 368.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1012, allocations: 38.5 kB / 368.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1012, allocations: 0 / 368.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005205/0.1017, allocations: 225.1 kB / 369.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1017, allocations: 85.11 kB / 369.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.102, allocations: 287 kB / 369.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1021, allocations: 29.7 kB / 369.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1022, allocations: 235.4 kB / 369.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.1023, allocations: 71.03 kB / 369.8 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.1024, allocations: 62.02 kB / 369.9 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1025, allocations: 338.8 kB / 370.2 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1027, allocations: 64.88 kB / 370.3 MB, free: 500 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.103, allocations: 210.3 kB / 370.5 MB, free: 228 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1392/0.2421, allocations: 281.7 kB / 370.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.2422, allocations: 1.812 kB / 370.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006302/0.2428, allocations: 315.8 kB / 371.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2429, allocations: 7.641 kB / 371.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2429, allocations: 4.625 kB / 371.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.2429, allocations: 10.78 kB / 371.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.2432, allocations: 82.98 kB / 371.2 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2432, allocations: 11.25 kB / 371.2 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.2435, allocations: 35.11 kB / 371.2 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2435, allocations: 18.36 kB / 371.3 MB, free: 19.83 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.0001421/0.2436, allocations: 160.9 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.2437, allocations: 27.88 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.2438, allocations: 29.94 kB / 371.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2438, allocations: 3.125 kB / 371.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2438, allocations: 0.625 kB / 371.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2438, allocations: 3.203 kB / 371.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.2445, allocations: 0.5097 MB / 372 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2445, allocations: 1.547 kB / 372 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.2447, allocations: 44.61 kB / 372 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2448, allocations: 1.5 kB / 372 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.2448, allocations: 7.047 kB / 372 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2448, allocations: 9.656 kB / 372.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2448, allocations: 1.281 kB / 372.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.2453, allocations: 421.4 kB / 372.5 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.2453, allocations: 105.3 kB / 372.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.2454, allocations: 6.516 kB / 372.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2456, allocations: 18.11 kB / 372.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.2457, allocations: 13.92 kB / 372.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.2457, allocations: 6.594 kB / 372.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.2459, allocations: 200.3 kB / 372.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2459, allocations: 0.5 kB / 372.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.2463, allocations: 81.67 kB / 372.9 MB, free: 18.97 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.0006779/0.247, allocations: 0.9686 MB / 373.9 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.2474, allocations: 190.4 kB / 374 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2474, allocations: 0 / 374 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.2475, allocations: 73.45 kB / 374.1 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.248, allocations: 40.5 kB / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.2512, allocations: 3.279 MB / 377.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2514, allocations: 0.7736 MB / 378.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.2516, allocations: 36.92 kB / 378.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.2517, allocations: 106.8 kB / 378.3 MB, free: 15 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2517, allocations: 0 / 378.3 MB, free: 15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.268, allocations: 5.179 MB / 383.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.2682, allocations: 239.4 kB / 383.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.993, allocations: 0 / 383.8 MB, free: 14.25 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