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.001026/0.001026, allocations: 112.5 kB / 16.51 MB, free: 6.707 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.0009909/0.0009909, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009438/0.0009438, allocations: 46.55 kB / 300 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08901, allocations: 49.45 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004392/0.09344, allocations: 3.301 MB / 352.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.0956, allocations: 1.304 MB / 354 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.09577, allocations: 4 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.09619, allocations: 131.4 kB / 354.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009279/0.09715, allocations: 418.1 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.09747, allocations: 143.7 kB / 354.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.09796, allocations: 430.1 kB / 355.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.09817, allocations: 136.7 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.09834, allocations: 151.4 kB / 355.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.09858, allocations: 195.1 kB / 355.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.09864, allocations: 28 kB / 355.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.09891, allocations: 143.9 kB / 355.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.09898, allocations: 71.69 kB / 355.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.09915, allocations: 195 kB / 356 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.09966, allocations: 0.5103 MB / 356.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.09967, allocations: 4 kB / 356.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.09968, allocations: 0 / 356.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.09969, allocations: 3.938 kB / 356.5 MB, free: 13.7 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.001403/0.1011, allocations: 0.7371 MB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1012, allocations: 8.031 kB / 357.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005997/0.1018, allocations: 100.3 kB / 357.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.1021, allocations: 304.5 kB / 357.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1022, allocations: 29.38 kB / 357.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.1022, allocations: 36.31 kB / 357.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.1028, allocations: 361.6 kB / 358.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1029, allocations: 0 / 358.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1029, allocations: 16 kB / 358.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1029, allocations: 8 kB / 358.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.1034, allocations: 242.1 kB / 358.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1053, allocations: 1.323 MB / 359.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.1057, allocations: 205.1 kB / 359.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1059, allocations: 81.69 kB / 359.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.1067, allocations: 0.883 MB / 360.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1067, allocations: 34.56 kB / 360.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.1067, allocations: 0 / 360.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005423/0.1073, allocations: 217.3 kB / 361.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1073, allocations: 88.98 kB / 361.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1076, allocations: 282.9 kB / 361.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1077, allocations: 29.7 kB / 361.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1078, allocations: 235.5 kB / 361.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1078, allocations: 71.08 kB / 361.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.1079, allocations: 58.03 kB / 361.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1081, allocations: 338.8 kB / 362.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1082, allocations: 64.62 kB / 362.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1084, allocations: 210.3 kB / 362.4 MB, free: 7.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.1088, allocations: 288.9 kB / 362.7 MB, free: 7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1088, allocations: 0 / 362.7 MB, free: 7 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000511/0.1094, allocations: 316.2 kB / 363 MB, free: 6.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1094, allocations: 8 kB / 363 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.1094, allocations: 4 kB / 363 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1094, allocations: 8 kB / 363 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.1097, allocations: 88.39 kB / 363.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1097, allocations: 11.94 kB / 363.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1099, allocations: 35.67 kB / 363.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.11, allocations: 16 kB / 363.2 MB, free: 6.52 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.1101, allocations: 145.8 kB / 363.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.1102, allocations: 31.88 kB / 363.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1102, allocations: 29.73 kB / 363.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1102, allocations: 7.938 kB / 363.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1102, allocations: 8 kB / 363.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1103, allocations: 0 / 363.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.1109, allocations: 0.5069 MB / 363.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1109, allocations: 0 / 363.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.1111, allocations: 47.86 kB / 364 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1112, allocations: 3.984 kB / 364 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1112, allocations: 12.03 kB / 364 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1112, allocations: 7.875 kB / 364 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1112, allocations: 0 / 364 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.1117, allocations: 419.1 kB / 364.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.1118, allocations: 116.8 kB / 364.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.1119, allocations: 3.984 kB / 364.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1121, allocations: 12 kB / 364.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1121, allocations: 11.98 kB / 364.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1121, allocations: 11.98 kB / 364.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1123, allocations: 194 kB / 364.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1123, allocations: 0 / 364.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.1128, allocations: 79.75 kB / 364.8 MB, free: 4.789 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.0001397/0.1129, allocations: 122.6 kB / 364.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.1133, allocations: 184 kB / 365.1 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1133, allocations: 0 / 365.1 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1135, allocations: 71.91 kB / 365.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1139, allocations: 36.75 kB / 365.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1151, allocations: 0.7861 MB / 366 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1154, allocations: 0.7716 MB / 366.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.1155, allocations: 34.95 kB / 366.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.1156, allocations: 27.42 kB / 366.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1156, allocations: 0 / 366.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of Templates: time 0.005498/0.1211, allocations: 2.185 MB / 369 MB, free: 0.5352 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