Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 113.6 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 47.52 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004411/0.1315, allocations: 3.273 MB / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1335, allocations: 1.308 MB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1337, allocations: 4 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.1341, allocations: 147 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009321/0.135, allocations: 453.5 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.1354, allocations: 167.5 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.1359, allocations: 446.2 kB / 357.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.1361, allocations: 144.2 kB / 357.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1363, allocations: 167.3 kB / 357.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1366, allocations: 211.1 kB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.1366, allocations: 36 kB / 357.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.1369, allocations: 159.9 kB / 358 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.137, allocations: 83.62 kB / 358.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1372, allocations: 191 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.1377, allocations: 0.5412 MB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1377, allocations: 0 / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1377, allocations: 0 / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1377, allocations: 0 / 358.8 MB, free: 12.38 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.001295/0.139, allocations: 0.7293 MB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1391, allocations: 16.03 kB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005748/0.1397, allocations: 100.3 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.1401, allocations: 300.5 kB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.1402, allocations: 29.36 kB / 360 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.1402, allocations: 32.38 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.1408, allocations: 361.6 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1408, allocations: 3.938 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.1408, allocations: 15.98 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.1409, allocations: 8 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.1413, allocations: 250.1 kB / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.1432, allocations: 1.307 MB / 361.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.1436, allocations: 197.1 kB / 362.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1437, allocations: 89.67 kB / 362.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007905/0.1445, allocations: 0.8791 MB / 363.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1446, allocations: 34.5 kB / 363.1 MB, free: 7.723 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.1446, allocations: 3.938 kB / 363.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004993/0.1451, allocations: 221.4 kB / 363.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1451, allocations: 88.98 kB / 363.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1454, allocations: 286.9 kB / 363.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1455, allocations: 29.7 kB / 363.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1456, allocations: 231.5 kB / 364 MB, free: 6.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.1456, allocations: 67.09 kB / 364 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.1457, allocations: 58.03 kB / 364.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1459, allocations: 334.8 kB / 364.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.146, allocations: 72.61 kB / 364.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1462, allocations: 198.4 kB / 364.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.1466, allocations: 295.8 kB / 365 MB, free: 5.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1466, allocations: 4 kB / 365 MB, free: 5.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004894/0.1471, allocations: 316.8 kB / 365.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1472, allocations: 4 kB / 365.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1472, allocations: 4 kB / 365.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1472, allocations: 11.94 kB / 365.3 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1475, allocations: 88.39 kB / 365.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1475, allocations: 8 kB / 365.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1477, allocations: 35.67 kB / 365.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1477, allocations: 23.94 kB / 365.4 MB, free: 5.199 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.0001273/0.1478, allocations: 149.7 kB / 365.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.1479, allocations: 27.62 kB / 365.6 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.148, allocations: 29.73 kB / 365.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.148, allocations: 3.938 kB / 365.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.148, allocations: 11.98 kB / 365.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.148, allocations: 0 / 365.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.1486, allocations: 0.5069 MB / 366.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1486, allocations: 0 / 366.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1488, allocations: 43.92 kB / 366.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.1489, allocations: 0 / 366.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1489, allocations: 15.92 kB / 366.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1489, allocations: 4.031 kB / 366.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1489, allocations: 4 kB / 366.2 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.1494, allocations: 411.6 kB / 366.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.1495, allocations: 108.7 kB / 366.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1495, allocations: 4.375 kB / 366.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.1497, allocations: 19.98 kB / 366.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.1498, allocations: 7.984 kB / 366.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1498, allocations: 15.92 kB / 366.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1499, allocations: 194 kB / 367 MB, free: 3.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 0 / 367 MB, free: 3.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.1504, allocations: 91.67 kB / 367.1 MB, free: 3.473 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.0001519/0.1505, allocations: 111.2 kB / 367.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.1509, allocations: 188.2 kB / 367.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1509, allocations: 3.938 kB / 367.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1511, allocations: 71.84 kB / 367.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1515, allocations: 36.75 kB / 367.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1525, allocations: 0.6436 MB / 368.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1528, allocations: 0.7753 MB / 368.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.153, allocations: 30.97 kB / 368.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.153, allocations: 23.44 kB / 368.9 MB, free: 1.531 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.153, allocations: 0 / 368.9 MB, free: 1.531 MB / 302.1 MB Notification: Performance of Templates: time 0.1575/0.3106, allocations: 2.326 MB / 371.3 MB, free: 24.77 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches