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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009213/0.0009213, allocations: 96.62 kB / 17 MB, free: 6.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 198.2 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002062/0.0002062, allocations: 4 kB / 307.1 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09506, allocations: 51.53 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003117/0.09822, allocations: 2.798 MB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1001, allocations: 1.301 MB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1002, allocations: 7.938 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1006, allocations: 103.5 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007768/0.1014, allocations: 354.4 kB / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1017, allocations: 131.8 kB / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.1022, allocations: 418.1 kB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1024, allocations: 127.4 kB / 363.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1026, allocations: 139.4 kB / 364 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1028, allocations: 179.2 kB / 364.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1029, allocations: 20 kB / 364.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.1032, allocations: 143.8 kB / 364.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.1033, allocations: 63.69 kB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.1034, allocations: 93.52 kB / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.1039, allocations: 403.2 kB / 364.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.1039, allocations: 0 / 364.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1039, allocations: 7.938 kB / 364.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.1039, allocations: 0 / 364.9 MB, free: 7.359 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.001375/0.1053, allocations: 0.6901 MB / 365.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1053, allocations: 12.03 kB / 365.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007121/0.1061, allocations: 119.5 kB / 365.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.1065, allocations: 308.5 kB / 366 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1065, allocations: 21 kB / 366 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.1066, allocations: 36 kB / 366.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.1072, allocations: 353.3 kB / 366.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1072, allocations: 4 kB / 366.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.1072, allocations: 15.94 kB / 366.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1073, allocations: 12 kB / 366.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.1077, allocations: 257.9 kB / 366.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.1097, allocations: 1.331 MB / 368 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.11, allocations: 189.2 kB / 368.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1102, allocations: 93.62 kB / 368.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009155/0.1111, allocations: 1.204 MB / 369.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1112, allocations: 34.56 kB / 369.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.1112, allocations: 0 / 369.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005209/0.1117, allocations: 237.1 kB / 369.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1118, allocations: 81.11 kB / 369.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.112, allocations: 286.9 kB / 370.1 MB, free: 1.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1121, allocations: 25.7 kB / 370.1 MB, free: 1.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1122, allocations: 243.5 kB / 370.4 MB, free: 1.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.1123, allocations: 59.11 kB / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.1123, allocations: 8 kB / 370.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1124, allocations: 338.8 kB / 370.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1126, allocations: 80.55 kB / 370.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.1128, allocations: 201 kB / 371 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.113, allocations: 103.3 kB / 371.2 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.113, allocations: 0 / 371.2 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005299/0.1136, allocations: 325.3 kB / 371.5 MB, free: 240 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1136, allocations: 8 kB / 371.5 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1136, allocations: 4 kB / 371.5 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1136, allocations: 8 kB / 371.5 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.1139, allocations: 79.89 kB / 371.6 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1139, allocations: 7.938 kB / 371.6 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.1141, allocations: 51.67 kB / 371.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1141, allocations: 12 kB / 371.6 MB, free: 68 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1681/0.2823, allocations: 154.2 kB / 371.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2824, allocations: 28.3 kB / 371.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/0.2825, allocations: 29.56 kB / 371.8 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2825, allocations: 2.688 kB / 371.8 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2825, allocations: 0.5312 kB / 371.8 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2825, allocations: 1.688 kB / 371.8 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/0.2835, allocations: 0.518 MB / 372.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2835, allocations: 1.219 kB / 372.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.2837, allocations: 46.3 kB / 372.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.2838, allocations: 1.688 kB / 372.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2838, allocations: 6.109 kB / 372.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2838, allocations: 5.203 kB / 372.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2838, allocations: 3.5 kB / 372.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.2843, allocations: 435.8 kB / 372.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.2844, allocations: 110 kB / 373 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.2844, allocations: 5.875 kB / 373 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.2846, allocations: 20.98 kB / 373 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.2847, allocations: 11.45 kB / 373 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2847, allocations: 5.188 kB / 373 MB, free: 18.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.2849, allocations: 199 kB / 373.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2849, allocations: 0 / 373.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.2854, allocations: 81.42 kB / 373.3 MB, free: 18.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.2855, allocations: 116.6 kB / 373.4 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.286, allocations: 195.8 kB / 373.6 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.286, allocations: 0 / 373.6 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.2861, allocations: 73.53 kB / 373.7 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.2865, allocations: 32.42 kB / 373.7 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2876, allocations: 0.8184 MB / 374.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2879, allocations: 0.7745 MB / 375.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.288, allocations: 36.25 kB / 375.3 MB, free: 16.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.2881, allocations: 23.33 kB / 375.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2881, allocations: 4 kB / 375.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of Templates: time 0.005674/0.2938, allocations: 2.132 MB / 377.5 MB, free: 16.62 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/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