Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009252/0.000925, allocations: 95.25 kB / 16.94 MB, free: 6.441 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.0009471/0.0009476, allocations: 183.5 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006386, allocations: 19.28 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1122, allocations: 47.58 MB / 328.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003573/0.1159, allocations: 2.599 MB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1183, allocations: 1.236 MB / 332.2 MB, free: 260 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.1187, allocations: 11.94 kB / 332.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.1191, allocations: 107.4 kB / 332.3 MB, free: 140 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.1202, allocations: 319 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.1207, allocations: 207.4 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006495/0.1214, allocations: 303.3 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.1216, allocations: 119.1 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1219, allocations: 143.5 kB / 333.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1222, allocations: 163.3 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.1222, allocations: 20 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.1225, allocations: 123.9 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1226, allocations: 63.69 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.581e-05/0.1227, allocations: 93.52 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.1232, allocations: 391.1 kB / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1232, allocations: 0 / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1232, allocations: 0 / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1232, allocations: 0 / 334.2 MB, free: 14.22 MB / 286.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.001418/0.1246, allocations: 0.6902 MB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1247, allocations: 8.031 kB / 334.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.1253, allocations: 103.4 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.1258, allocations: 299.3 kB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.1258, allocations: 36.94 kB / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.1259, allocations: 28 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1265, allocations: 349.3 kB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1265, allocations: 8 kB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.1265, allocations: 8 kB / 335.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1266, allocations: 8 kB / 335.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.1271, allocations: 254.1 kB / 335.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.1291, allocations: 1.331 MB / 337.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1294, allocations: 197.1 kB / 337.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008021/0.1303, allocations: 0.8752 MB / 338.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1303, allocations: 34.56 kB / 338.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.1303, allocations: 0 / 338.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005459/0.1309, allocations: 245.2 kB / 338.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1309, allocations: 81.09 kB / 338.7 MB, free: 9.344 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1312, allocations: 274.9 kB / 339 MB, free: 9.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1312, allocations: 33.7 kB / 339 MB, free: 9.031 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1314, allocations: 235.5 kB / 339.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.1314, allocations: 67.14 kB / 339.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.1315, allocations: 11.94 kB / 339.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1316, allocations: 338.8 kB / 339.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1317, allocations: 68.62 kB / 339.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.132, allocations: 202.4 kB / 339.9 MB, free: 8.051 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.1322, allocations: 103.9 kB / 340 MB, free: 7.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1322, allocations: 4 kB / 340 MB, free: 7.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004957/0.1327, allocations: 312.9 kB / 340.3 MB, free: 7.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1327, allocations: 11.98 kB / 340.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1327, allocations: 4.562 kB / 340.3 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1328, allocations: 8 kB / 340.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.133, allocations: 75.91 kB / 340.4 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.1331, allocations: 15.92 kB / 340.4 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.1333, allocations: 51.48 kB / 340.5 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1333, allocations: 12 kB / 340.5 MB, free: 7.457 MB / 286.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.0001495/0.1335, allocations: 149.8 kB / 340.6 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.1335, allocations: 27.72 kB / 340.7 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.1336, allocations: 29.73 kB / 340.7 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1336, allocations: 4 kB / 340.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1336, allocations: 0 / 340.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1336, allocations: 3.984 kB / 340.7 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.1343, allocations: 0.5146 MB / 341.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1343, allocations: 7.969 kB / 341.2 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.1345, allocations: 55.84 kB / 341.3 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1345, allocations: 0 / 341.3 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1345, allocations: 4 kB / 341.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1345, allocations: 0 / 341.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1346, allocations: 3.953 kB / 341.3 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.1351, allocations: 450.6 kB / 341.7 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1352, allocations: 120.7 kB / 341.8 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.1352, allocations: 4 kB / 341.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1354, allocations: 19.98 kB / 341.9 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1355, allocations: 7.984 kB / 341.9 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1355, allocations: 8 kB / 341.9 MB, free: 5.941 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1357, allocations: 194 kB / 342.1 MB, free: 5.754 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1357, allocations: 0 / 342.1 MB, free: 5.754 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.1362, allocations: 79.84 kB / 342.1 MB, free: 5.676 MB / 286.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.0001517/0.1363, allocations: 119.5 kB / 342.3 MB, free: 5.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.1367, allocations: 198.5 kB / 342.5 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1367, allocations: 0 / 342.5 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1369, allocations: 73.09 kB / 342.5 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1372, allocations: 24.89 kB / 342.6 MB, free: 5.266 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1383, allocations: 0.8135 MB / 343.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.1386, allocations: 0.7835 MB / 344.2 MB, free: 3.613 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.1387, allocations: 34.95 kB / 344.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.1388, allocations: 27.42 kB / 344.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1388, allocations: 0 / 344.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of Templates: time 0.0053/0.1441, allocations: 2.095 MB / 346.3 MB, free: 1.461 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches