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.0008183/0.0008182, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002228/0.0002228, allocations: 4 kB / 308.4 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09475, allocations: 51.52 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003535/0.09834, allocations: 2.941 MB / 362.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1008, allocations: 1.39 MB / 364.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.1012, allocations: 7.938 kB / 364.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.1017, allocations: 119.5 kB / 364.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.1031, allocations: 382.2 kB / 364.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1036, allocations: 167.6 kB / 364.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.1044, allocations: 438.1 kB / 365.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.1046, allocations: 128.8 kB / 365.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.1049, allocations: 155.4 kB / 365.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1052, allocations: 179.1 kB / 365.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.1053, allocations: 20 kB / 365.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.1057, allocations: 155.8 kB / 366 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.1058, allocations: 63.7 kB / 366 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.106, allocations: 204.7 kB / 366.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.1065, allocations: 407 kB / 366.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1065, allocations: 0 / 366.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1065, allocations: 0 / 366.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1066, allocations: 4 kB / 366.6 MB, free: 6.539 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.001445/0.108, allocations: 0.6903 MB / 367.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1081, allocations: 12.03 kB / 367.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.1089, allocations: 116.4 kB / 367.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.1093, allocations: 313.6 kB / 367.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1094, allocations: 25.38 kB / 367.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.1094, allocations: 32.38 kB / 367.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.1101, allocations: 365.6 kB / 368.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1101, allocations: 0 / 368.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.1102, allocations: 16 kB / 368.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1102, allocations: 8 kB / 368.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.1107, allocations: 262 kB / 368.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1127, allocations: 1.331 MB / 369.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.1132, allocations: 205.1 kB / 370 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1133, allocations: 85.69 kB / 370.1 MB, free: 2.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.1144, allocations: 1.2 MB / 371.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1144, allocations: 42.5 kB / 371.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1144, allocations: 0 / 371.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005825/0.115, allocations: 237.2 kB / 371.5 MB, free: 1.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1151, allocations: 81.05 kB / 371.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.1154, allocations: 291 kB / 371.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1154, allocations: 29.7 kB / 371.9 MB, free: 0.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1156, allocations: 235.4 kB / 372.2 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.1156, allocations: 63.09 kB / 372.2 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1157, allocations: 37.7 kB / 372.2 MB, free: 464 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1158, allocations: 338.8 kB / 372.6 MB, free: 116 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.116, allocations: 72.61 kB / 372.7 MB, free: 40 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2239/0.3399, allocations: 197.1 kB / 372.8 MB, free: 18.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.3406, allocations: 293.5 kB / 373.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3406, allocations: 5.641 kB / 373.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009601/0.3416, allocations: 326.1 kB / 373.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.3416, allocations: 7.062 kB / 373.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3417, allocations: 4.156 kB / 373.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.3417, allocations: 6.375 kB / 373.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.3421, allocations: 83.61 kB / 373.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.3422, allocations: 10.53 kB / 373.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.3425, allocations: 41.45 kB / 373.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3425, allocations: 15.64 kB / 373.6 MB, free: 18.63 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.0001911/0.3427, allocations: 154.7 kB / 373.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.3428, allocations: 26.22 kB / 373.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.3429, allocations: 29.69 kB / 373.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3429, allocations: 2.219 kB / 373.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.343, allocations: 4.781 kB / 373.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.343, allocations: 2.359 kB / 373.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008577/0.3438, allocations: 0.5169 MB / 374.4 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3438, allocations: 0.6562 kB / 374.4 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.3441, allocations: 51.22 kB / 374.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3442, allocations: 1.438 kB / 374.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.3442, allocations: 6.422 kB / 374.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.3442, allocations: 6.875 kB / 374.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3442, allocations: 1.594 kB / 374.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.3449, allocations: 429.7 kB / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.345, allocations: 107.9 kB / 374.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3451, allocations: 9.641 kB / 375 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3453, allocations: 21.53 kB / 375 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.3454, allocations: 12.78 kB / 375 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3454, allocations: 8.266 kB / 375 MB, free: 17.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.3457, allocations: 199 kB / 375.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3457, allocations: 4 kB / 375.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006681/0.3464, allocations: 81.72 kB / 375.3 MB, free: 17.77 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.0001952/0.3466, allocations: 113.8 kB / 375.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006142/0.3472, allocations: 200.5 kB / 375.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3472, allocations: 2 kB / 375.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.3475, allocations: 76.28 kB / 375.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.3482, allocations: 31.75 kB / 375.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3499, allocations: 0.8775 MB / 376.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3502, allocations: 0.7745 MB / 377.3 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3504, allocations: 27.12 kB / 377.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3504, allocations: 3.828 kB / 377.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of Templates: time 0.009124/0.3595, allocations: 3.42 MB / 380.8 MB, free: 16.1 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/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