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.001067/0.001067, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001059/0.001059, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.265/1.265, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 46.97 kB / 300.6 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09132, allocations: 49.44 MB / 350 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004563/0.09593, allocations: 3.282 MB / 353.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.09819, allocations: 1.3 MB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.09848, allocations: 8 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.09889, allocations: 143.1 kB / 354.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000986/0.09991, allocations: 467.1 kB / 355.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1003, allocations: 159.6 kB / 355.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.1008, allocations: 450.1 kB / 355.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1011, allocations: 144.2 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.1013, allocations: 171.3 kB / 356.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1015, allocations: 199.2 kB / 356.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.1016, allocations: 36 kB / 356.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.1019, allocations: 167.8 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.1019, allocations: 75.7 kB / 356.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1021, allocations: 195 kB / 356.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.1026, allocations: 0.5259 MB / 357.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1027, allocations: 4 kB / 357.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1027, allocations: 0 / 357.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1027, allocations: 0 / 357.3 MB, free: 13.1 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.001313/0.104, allocations: 0.7448 MB / 358.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.104, allocations: 12.03 kB / 358.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.1047, allocations: 100.3 kB / 358.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.105, allocations: 304.5 kB / 358.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.105, allocations: 29.38 kB / 358.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.1051, allocations: 36.38 kB / 358.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.1057, allocations: 353.6 kB / 358.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1057, allocations: 0 / 358.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.1057, allocations: 16 kB / 358.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1057, allocations: 8 kB / 358.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.1062, allocations: 250.1 kB / 359.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.1081, allocations: 1.323 MB / 360.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.1084, allocations: 193.2 kB / 360.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1086, allocations: 89.62 kB / 360.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007215/0.1094, allocations: 0.8752 MB / 361.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1094, allocations: 30.56 kB / 361.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.1094, allocations: 0 / 361.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005265/0.1099, allocations: 217.3 kB / 361.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.11, allocations: 89.05 kB / 362 MB, free: 8.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1103, allocations: 282.9 kB / 362.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1103, allocations: 29.7 kB / 362.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1104, allocations: 243.4 kB / 362.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.1105, allocations: 63.11 kB / 362.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.1106, allocations: 65.95 kB / 362.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1107, allocations: 338.8 kB / 363 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1108, allocations: 72.56 kB / 363 MB, free: 6.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.1111, allocations: 202.3 kB / 363.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.1115, allocations: 292.5 kB / 363.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1115, allocations: 4 kB / 363.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005087/0.112, allocations: 316.8 kB / 363.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.112, allocations: 4 kB / 363.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.112, allocations: 4.562 kB / 363.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.112, allocations: 12 kB / 363.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.1123, allocations: 87.77 kB / 363.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1124, allocations: 8 kB / 363.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1126, allocations: 35.67 kB / 364 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1126, allocations: 20 kB / 364 MB, free: 5.902 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.000126/0.1127, allocations: 149.7 kB / 364.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.1128, allocations: 27.62 kB / 364.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.1129, allocations: 37.73 kB / 364.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1129, allocations: 3.938 kB / 364.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1129, allocations: 4 kB / 364.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1129, allocations: 0 / 364.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006365/0.1135, allocations: 0.5072 MB / 364.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1136, allocations: 4 kB / 364.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1138, allocations: 47.94 kB / 364.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1138, allocations: 0 / 364.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1138, allocations: 8 kB / 364.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1138, allocations: 0 / 364.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.1138, allocations: 4 kB / 364.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.1143, allocations: 423 kB / 365.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1144, allocations: 116.7 kB / 365.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.1145, allocations: 0 / 365.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1147, allocations: 16 kB / 365.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1147, allocations: 11.97 kB / 365.3 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1147, allocations: 8 kB / 365.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1149, allocations: 194 kB / 365.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1149, allocations: 4.062 kB / 365.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.1153, allocations: 83.75 kB / 365.6 MB, free: 4.176 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.000154/0.1155, allocations: 111.2 kB / 365.7 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.1159, allocations: 199.7 kB / 365.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1159, allocations: 0 / 365.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1161, allocations: 67.91 kB / 366 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1165, allocations: 37.89 kB / 366 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1176, allocations: 0.6469 MB / 366.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1179, allocations: 0.7714 MB / 367.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.118, allocations: 34.95 kB / 367.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.1181, allocations: 31.42 kB / 367.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1181, allocations: 0 / 367.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of Templates: time 0.1402/0.2583, allocations: 2.329 MB / 369.8 MB, free: 24.99 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 -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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches